3d lindenmayers in jitter
dear list,
i tweaked a jitter patch which generates two-dimensional fractal
images based on lindenmayer strings (L systems) using jit.linden. the
2D images generated by this process are currently visualized in
jit.lcd. my next step is to convert (or better to map) the jit.linden
matrix output to a jit.GL object and generate a 3D version of the
lindenmayer fractal - and here's where i'm stuck. i tried different
combinations, but couldn't find a properly working way to get the
fractal going from 2D to 3D. i guess jit.linden outputs 2-dimensional
data, but there should be a way to convert the simple 2-dimension
movements to 3D data (for instance, convert direction and position to
rotation and angle).
any ideas?
will appreciate anyone's help, thank you!
Spk.
hello,
can't help you more at this moment than offering these links to this
beautiful book on the subject by Dr. P. Prusinkiewicz - The Algorithmic
Beauty of Plants:
high quality, 17mb:
http://algorithmicbotany.org/papers/abop/abop.pdf
high quality, 4mb:
http://algorithmicbotany.org/papers/abop/abop.lowquality.pdf
you'll find more info on the subject at above site, highly recommended.
best,
nesa
a great book indeed, and i remember seeing 3d-l-systems in there too,
which might point you in the right direction.
There is nothing implicitly 2d in l-systems, it all depends on how your
'turtle' interprets the strings generated.
ciao,
Joost.
-------------------------------------------
Joost Rekveld
----------- http://www.lumen.nu/rekveld
-------------------------------------------
"The mystery of the world is the visible, not the invisible"
(Oscar Wilde)
-------------------------------------------