Hi,
I’m working on an L-system and so far I have the tree but I’m working on now making each line grow slowly. I’m new to working with vectors so any help would be appreciated.
I started with creating two vectors, then was thinking something like,
//if the string has an "a" then add vectors and multiply by an angle
for (int i = 0; i < current_iteration.length(); i++) {
if(current_iteration[i] == 'a') {
v2+v1*angle;
}
Thank you