Skip to content

Instantly share code, notes, and snippets.

@aman-tiwari
Created October 30, 2017 18:28
Show Gist options
  • Save aman-tiwari/3007043b5c5144394c6b7cd6cf794a33 to your computer and use it in GitHub Desktop.
Save aman-tiwari/3007043b5c5144394c6b7cd6cf794a33 to your computer and use it in GitHub Desktop.
// 'stroke' changes all the
// edges:
scale 0.3
background 0
10 times
i = 0
10 times
j = 0
(int (10 * abs sin time)) times
fill 255, 0, 255, (100 * abs sin time)
move i * 2, j * 2, 1
rotate time/2
strokeSize 0.2
stroke 255, 0, 255
box
j = j + 1
i = i + 1
// the three numbers are RGB
// but you can also use the color names
// or the special color 'angleColor'
// Also you can use 'strokeSize'
// to specify the thickness.
// next-tutorial:color_names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment