Quantcast
Viewing all articles
Browse latest Browse all 40524

Using ofNode to build an L-System

Thanks @arturo for the answer. What i meant to do with that auto branch was to re-assigne the value of the variable branch, defined before the loop starts, https://github.com/edap/testRotation/blob/master/src/ofApp.cpp#L46

What I'm trying to do is simply to use ofNode in a loop in order to draw this:

https://forum.openframeworks.cc/uploads/default/original/2X/3/314f0e4bcf8eb668993a825affa4e139067896ff.png

This commented part https://github.com/edap/testRotation/blob/master/src/ofApp.cpp#L9 does what i want, but i need to do it in a loop.
I hope is it clear enough.


Viewing all articles
Browse latest Browse all 40524

Trending Articles