Created
October 30, 2017 18:28
-
-
Save aman-tiwari/3007043b5c5144394c6b7cd6cf794a33 to your computer and use it in GitHub Desktop.
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
// '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