We are about to switch to a new forum software. Until then we have removed the registration on this forum.
inside the for statement I seem don't understand the mechanism of the 2nd translate( 0 ,8)
here is the orig code from the book : (see below)
what does this mean ?
for each "for" statements run an addition + 8 in the original translate(xpos, 0) is added and additional -0.12 for the angle : since its 14 units meaning 14 lines 1st run: translate(xpos, 0); rotate 0 2nd run: translate(xpos, 8); rotate -12 3rd run: translate(xpos, 16); rotate - 24 4th run: translate(xpos, 32); rotate - 36 so on;...
hence "line" is really :
1st run line (20,0,20,0);rotate 0 2nd run line (20,0,20,8);rotate -12 3rd run line (20,0,20,16); rotate - 24 4th run line (20,0,20,32); rotate - 36
in the real coordinates of processing ?