Created
June 3, 2021 09:39
-
-
Save Eric-Guo/be5e5fce972f044ec36b99f89c3600b9 to your computer and use it in GitHub Desktop.
short effect
This file contains hidden or 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
https://twitter.com/_mdymkowski/status/1371476003789361153 | |
def tick a | |
B=a.outputs[:r].solids<<[A=0,0,1e2,1e4,F=255,F,F] | |
a.solids<<[0,0,2e3,1e3,0,0,0] | |
a.sprites<<http://960.map{[638,360,w=($i+=3).sin*F*1.5,h=$i.sin*F,:r,A+=3,5,F*w,-F*(w+h),-F*h]}; | |
$i+=1; | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment