[SOLVED] Shape stroke disappearing with resize -- solved, Clipping Plane issue

When the window narrows and var ‘dist’ gets smaller, this happens:

Edit: if your shapes look like this, the culprit is the clipping plane. The Coding Train video on P5 js Camera features a solution.

1 Like

Thanks for the solution tip. The clip is here:

…and the section on perspective() and the clipping plane begins right at minute 8.