Skip to content

jaycody/pshape-studio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pshape-studio

experiments with PShapes, beginContour(), quadraticVertex() textures, offScreenBuffers, nested graphics layers, feedback loops, etc.


Contours

From Rune's book:
While we can draw most shapes with vertex(), quadraticVertex(), and bezierVertex(), these functions won't allow us to create shapes with holes. In P5.js, a hole is called a contour, and you can draw shapes with contours using the beginContour() and endContour() functions. In essence, the beginContour() function instructs P5 that you are starting a new shape that will be subtracted from your main shape. Like beginShape(), you use the vertex functions to draw your contour, and use endContour() to end the contour.

Ref

Examples

Peter Stampfli's work on coding Kaleidoscopes


About

'Video' feedback experiments with PShape, PGraphics,

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published