I’m working on a project where I draw a line between four points using jit.gl.sketch
I want to redraw the square a few times per second a little step forward (z-translation) and keep the camera focussed on that newly drawn square.
Now I have a few problems;
the camera seems to be on an angle in comparance to the camera (thats where I get my four points which create the square from)
Somehow the square doesn’t want to be redrawn in a z-translation.
To make it a bit clearer, I want to create some sort of a tunnel effect. a section of square behind each other while the camera keep foccussing on the front square.
Hope someone can help me,
Let me know if you need to see the patch