Skip to content

Instantly share code, notes, and snippets.

@gwygonik
Last active December 17, 2015 00:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gwygonik/5520949 to your computer and use it in GitHub Desktop.
Save gwygonik/5520949 to your computer and use it in GitHub Desktop.
SynthScript (for Anandamide Variant)
// HueTube
// for Structure Synth - Anandamide variant (http://anandamidelogistics.com/)
set translation [-0.602337 0.326383 -20]
set rotation [-0.853031 -0.515111 -0.0834604 -0.518933 0.85418 0.0319882 0.0548153 0.0706038 -0.995965]
set pivot [0 0 0]
set scale 1.02
set background #000
set maxdepth 400
// core
48 * { z 1.5 s 0.95 rz 5.5 } r0
32 * { rz 360/32 } R2
// rules
rule r0 {
36 * { rz 360/36 hue 10 } R1
}
rule R2 {
{ x 4 z 2.5 s 0.5 0.5 4 color white } box::glow
}
rule R1 {
{ x 10 rz 90 ry -23 s 0.2 5 3 } box
}
rule R1 {
{ x 12 rz 90 ry -13 s 0.2 6 3 } box::phong
}
rule R1 {
{ x 11 rz 90 ry -20 s 0.2 4 3 } box
}
rule R1 {
{ x 10 rz 90 ry -23 s 0.2 7 3 } box
}
rule R1 {
{ x 11 rz 90 ry -40 s 0.2 5 3 } box
}
rule R1 {
{ x 8 rz 90 ry -50 s 0.2 6 3 } box
}
rule R1 {
{ x 11 z 2 rz 90 ry -20 s 0.2 5 3 } box
}
rule R1 {
{ x 8 z 4 rz 90 ry -10 s 0.2 3 3 } box
}
rule R1 {
{ x 11 z 6 rz 90 ry -20 s 0.2 8 3 } box
}
rule R1 {
{ x 8 z 8 rz 90 ry -10 s 0.2 2 3 } box
}
// raytracer settings
set raytracer::shadows false
set raytracer::exposure 1
set raytracer::reflectionUsesLightMap true
set raytracer::ambient-occlusion-samples 4
set raytracer::rotateEnvironmentMaps 90
set raytracer::interiorAmbientScale 6
set raytracer::noisiness 0.5
set raytracer::reflection 0.0
set raytracer::glow::emissiveIntensity 4.0
set raytracer::size [2400x2000]
set perspective-angle 70
set raytracer::samples 4
set raytracer::shiny::reflection 0.3
set raytracer::phong [0.5,0.6,0.2]
@gwygonik
Copy link
Author

gwygonik commented May 5, 2013

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