Skip to content
Martin Prout edited this page Sep 5, 2013 · 4 revisions

Limitations of current DSL, and tricks you could should use

A major limitation of the ruby-processing version is relatively limited stack ( the C++ natively has a bigger stack, and further this can be increased by dynamically offloading the stack to temporary files ). Further in the absence of any sort of depth sorting (in the future we may introduce a z: parameter), you cannot readily influence the order in which shapes get rendered ( cf vanilla cfdg ). However by setting a low alpha: value, that increases as the fractal develops you can get passable results, see sierpinski and levy examples.

Benefits of ruby-processing DSL

The main benefit of the ruby-processing over regular C++ cfdg, is that it easy to add controls, that let you do live manipulation ( see sierpinski example ) of the design variables.

Clone this wiki locally