Most appropriate sub-area of p5.js?
p5.js version
1.11.7
Web browser and version
Chrome 136.0.7103.93
Operating system
MacOS
Steps to reproduce this
Steps:
- Try creating a custom
buildGeometry() shape using points
- They appear for 1 frame (if using
clear() or background() then go poof
- Not an issue if rendering
line() or sphere()
Snippet:
See example here.
FYI, was exploring buildGeometry() for a faster point cloud when drawing the obj.computeFaces().vertices as discussed here and wonder if it's intentional or a bug that point() doesn't work?
Most appropriate sub-area of p5.js?
p5.js version
1.11.7
Web browser and version
Chrome 136.0.7103.93
Operating system
MacOS
Steps to reproduce this
Steps:
buildGeometry()shape using pointsclear()orbackground()then go poofline()orsphere()Snippet:
See example here.
FYI, was exploring
buildGeometry()for a faster point cloud when drawing theobj.computeFaces().verticesas discussed here and wonder if it's intentional or a bug thatpoint()doesn't work?