Using Erase Function in p5.js to Make Interesting Shapes

Subscribers:
6,370
Published on ● Video Link: https://www.youtube.com/watch?v=zDlfsdT7WG8



Duration: 12:23
1,355 views
47


In this video, I talk about the erase function in p5.js to draw interesting shapes, using several examples. To use it best, we need to use it with createGraphics - putting drawings with erase onto an invisible canvas before placing them on the regular canvas.

Collection of all the code examples using erase:
https://editor.p5js.org/StevesMakerspace/collections/uyIvAMY2G

More about erase function here:
https://p5js.org/reference/#/p5/erase

Join my Discord: https://discord.gg/FSW6zzU

Follow me on Twitter: https://twitter.com/SteveMakerspace

Music:
Funk Down (Sting) by MK2 (theme)




Other Videos By Steve's Makerspace


2023-03-05Using a Buffer Canvas as a Data Source for p5.js Generative Art
2023-01-23How to Sell on fxhash - How to Get Started, Guide
2023-01-23How to Resize Your Art in p5.js, especially for selling on fxhash
2023-01-03Composition Elements for Generative Art - p5.js creative coding, art composition
2023-01-02Made in 10 Minutes Genuary Prompt p5.js - Perlin noise field with the letters of g-e-n-u-a-r-y
2022-12-04How I Made "Hex-a-Sketch" Art Project - Hexagonal Truchet Tiling Made Sketchy with p5.js
2022-11-27Truchet Tiling with Octagons in p5.js
2022-11-26Truchet Tiling with Hexagons in p5.js
2022-11-20Making Truchet Tiles in p5.js
2022-11-07Use Any Color in Shape Intersections - Overlapping Shapes in p5.js
2022-10-23Using Erase Function in p5.js to Make Interesting Shapes
2022-10-16Shadowy Edges & Making Shapes using Vertex in p5.js
2022-10-14My First fxhash Drop! Auction Watch Party & Code Review
2022-10-11My First Art Project on fxhash! #shorts
2022-10-09How to Buy Clean NFT Art on fxhash and objkt using Tezos, Coinbase, and Temple wallet
2022-09-12Watercolor Effect and Paper Texture in p5.js
2022-08-29Final Variations for Flow Packing Code - p5.js creative coding gen art
2022-08-28Placing shapes and images inside of shapes - Clipping masks in p5.js
2022-08-16The Best Art-Maker I've Ever Made - p5.js generative art creative coding
2022-08-07Creating a Center of Rotation - Part 2 of Rectangle Packing in a Noise Field - p5.js generative art
2022-08-07Rectangle Packing in a Perlin Flow Field - Part 1 of 2 - p5.js generative art



Tags:
p5js
coding in p5js
learn to code
art generator
computer art
digital art
digital painting
p5js creative coding
p5js clipping
p5js erase function
p5js gen art
generative art
p5js tutorial
createGraphics
erase function
p5js generative art