Skip to content

Instantly share code, notes, and snippets.

@ianjsikes
Created May 2, 2017 02:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ianjsikes/24bac532ed909b549701adce946c5ac3 to your computer and use it in GitHub Desktop.
simpleGradient fuchsia,color(100,200,200),yellow
move -3,-2,0
scale 2.1
x = 0
y = 0
5 times
x = 0
y += 0.1
move 0,y,0
pushMatrix
20 times
x++
pushMatrix
move 0,sin(time*3 + x)/5,0
rotate
box 0.1,0.1,0.1
popMatrix
move 0.15,0,0
popMatrix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment