You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I notice that when the vertices get displaced, sometimes the fills go outside of the strokes in a straight line:
It looks like there's an extra face here, or a face that hasn't been subdivided, so that when the endpoints move, it draws a straight line between them, rather than following the warped curve.
This has something to do with p5.Font.textToModel here probably:
Most appropriate sub-area of p5.js?
p5.js version
2.0 beta 1
Web browser and version
Firefox
Operating system
MacOS
Steps to reproduce this
I was testing out textToModel here, combining it with a shader to displace vertices: https://openprocessing.org/sketch/2513601
I notice that when the vertices get displaced, sometimes the fills go outside of the strokes in a straight line:
It looks like there's an extra face here, or a face that hasn't been subdivided, so that when the endpoints move, it draws a straight line between them, rather than following the warped curve.
This has something to do with p5.Font.textToModel here probably:
p5.js/src/type/p5.Font.js
Line 120 in 2ec3557
When drawing the front faces, I've called endContour(CLOSE), I wonder if the CLOSE is causing an extra face to be made?
The text was updated successfully, but these errors were encountered: