Recently I've been looking at Povray, pyprocessing, and cfdg (version 3.0) as tools for creating digital images. I have branched two separate blogs where I mainly explore jruby + processing and processing.py

Sunday, 14 November 2010

Spherical Cage In StructureSynth

According to the latest svn update the "Hinxton" release of Structure Synth will be version 1.5.0.
Here is the spherical cage of my previous post "realized", now I've just got to figure out how to animate it!!!

   1 // Camera settings. Place these before first rule call.
   2 set translation [0 -0.367113 -20]
   3 set rotation [-0.930895 -0.133324 -0.340329 -0.346242 0.0230767 0.938039 -0.117209 0.991068 -0.067656]
   4 set pivot [0 0 0]
   5 set scale 1.45879
   6 
   7 yring
   8 xring
   9 zring
  10 
  11 rule yring md  12{
  12 {s 1 x 1.83} sphere
  13  {rz 30 y 0} yring
  14 }
  15 
  16 rule xring {
  17  {rx 90} yring
  18 }
  19 
  20 rule zring {
  21  {rz 90} xring
  22 }
  23 
  24 set raytracer::ambient-occlusion-samples 8
  25 set raytracer::max-depth 5
  26 set raytracer::reflection 0.5


No comments:

Post a Comment

Followers

Blog Archive

About Me

My photo
Pembrokeshire, United Kingdom
I have developed JRubyArt and propane new versions of ruby-processing for JRuby-9.1.5.0 and processing-3.2.2