Created
July 23, 2019 15:02
-
-
Save rep-movsd/1f828561d708c3cb04aa5fe14c66537f to your computer and use it in GitHub Desktop.
Dweet 1: Rain-bough-nut
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function u(t) | |
{ | |
z=255 | |
for(i=0;i<z/2;++i) | |
{ | |
r=z*1.5-i | |
b=t+i*9/z | |
sa=S(t)*z | |
x.fillStyle=R(z-sa,z-C(t)*z,sa,0.01) | |
x.fillRect(780+r*S(b),420+r*C(b),80,90) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment