Its amazing but… I don’t understand anything about you’re code. My code is always so basic and looking like its from a tutorial. I only use very basic things in Makecode.
try hue shifting! as well as making colours darker and lighter, try shiftng the hues as well - darker tones more blue, and lighter tones more yellow (simulating how light works
all it does is make a temporary image, gets a pixel color on the input image (usually the screen), and sets that color in the temporary image at a certain offset (using cos and sin give it the wavy effect) and then its drawn onto the output image! (either the bg image or just drawn somewhere)
then i use it to warp this image a few times and voila!