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

Refactored cage.es with more bars

   1 // Camera settings. Place these before first rule call.
   2 set translation [-0.824668 0.0267332 -20]
   3 set rotation [0.765594 -0.375725 0.522327 0.620534 0.216121 -0.754077 0.170438 0.901452 0.39863]
   4 set pivot [0 0 0]
   5 set scale 2.35879
   6 
   7 cage
   8 
   9 rule cage {
  10   ring
  11  {rx 30} ring
  12  {rx 60} ring
  13  {rx 90} ring
  14  {rx 120} ring
  15  {rx 150} ring
  16  {ry 90 rz 90} ring
  17 }
  18 
  19 rule ring md  36{
  20 {s 0.16 x 4.9} sphere
  21  { rz 10} ring
  22 }
  23 
  24 set raytracer::size[0x600]
  25 set raytracer::max-threads 2
  26 set raytracer::light [0,0,-29]
  27 set raytracer::samples 8
  28 set raytracer::max-depth 5
  29 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