Shape stroke disappearing with resize -- solved, Clipping Plane issue


#1

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

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