Which instance actually executes beginDraw() and endDraw()?

Except that you shouldn’t update the angle ang+=0.01; inside the draws() function otherwise the two images will be at slightly different angles. Move the ang update back out to draw() instead so it only gets called once per frame.

This is similar to the code I used for stereo imaging: https://discourse.processing.org/t/cross-eyed-stereoscopy/38637.

3 Likes