Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages