Skip to content

Instantly share code, notes, and snippets.

@gwygonik
Created May 3, 2013 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gwygonik/5509398 to your computer and use it in GitHub Desktop.
Save gwygonik/5509398 to your computer and use it in GitHub Desktop.
Collapsing New Candleholder - a StructureSynth script
// settings
set translation [-0.490422 2.32762 -20]
set rotation [-0.00235658 -0.0112162 0.999936 -0.906447 0.422316 0.00260091 -0.422318 -0.906383 -0.0111623]
set pivot [0 0 0]
set scale 0.108795
set background #fff
set maxdepth 10
set raytracer::shadows false
set raytracer::samples 6
set raytracer::dof [0.250,0.07]
// object rules
8 * { rx 45 } root
24 * { rx 360/24 } base
rule root {
14 * { x 1 rz 360/60 s 1.05 color #BBA } r0
}
rule base {
{ x 38 y 10 rx 90 s 3 6 20 color #BBA } box
}
rule base {
{ x 38 y 12 rx 90 s 3 6 20 color #BBA } box
}
rule base {
{ x 37 y 14 rx 90 s 5 6 20 color #BBA } box
}
rule base {
{ x 38 y 18 rx 90 s 3 6 20 color #BBA } box
}
rule r0 {
13 * { z 0.5 } R1
}
rule R1 {
{ s 2.5 y -4.5 } box
}
rule R1 {
{ s 2.5 2.0 2.5 y -4.5 } box
}
@gwygonik
Copy link
Author

gwygonik commented May 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment