[OpenSCAD] Barnsley Fern recursive

Ronaldo rcmpersiano at gmail.com
Wed Sep 12 11:42:46 EDT 2018


The probabilities in your code does not agree with the definition found in 
Wikipedia <https://en.wikipedia.org/wiki/Barnsley_fern>  . Besides, a full
recursion stop rule is missing in the recursive module so regardless the
memory allocation size you will always get a stack overflow with probability
one. Anyway, as this fractal may be generated without recursion that would
be a preferable path to go. Finally, you would need a very large number of
circles to get a reasonable picture of the fractal and this may surpass the
limits of the OpenSCAD node tree.

Sent from: http://forum.openscad.org/

More information about the Discuss mailing list