Created
November 18, 2017 15:36
-
-
Save BBloggsbott/00b7f24eec053b3a74b6e813c7c0652f to your computer and use it in GitHub Desktop.
A code for structure synth to generate a mlticolored chain.
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
r5 | |
rule r5{ | |
r4 | |
{ x 15 z -5.75 y -5.75 hue 40 sat 40 rx 90 } r5 | |
} | |
rule r4{ | |
r1 | |
{ z -11.5 }r1 | |
{ x 15 }r2 | |
{ rz 180 }r2 | |
} | |
rule r1 maxdepth 150{ | |
{ s 3 } sphere | |
{ x 0.1 }r1 | |
} | |
rule r2{ | |
180 * { x 0.1 ry 1 } r3 | |
} | |
rule r3{ | |
{ s 3 } sphere | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment