Use Any Color in Shape Intersections - Overlapping Shapes in p5.js
In this video, I go over how you can use any color you want in the intersection of shapes. To do it in p5.js, we need to use the clip function, create multiple canvases, and save all the shape information to an array. creative coding, generative art.
Two-shape overlap example:
https://editor.p5js.org/StevesMakerspace/sketches/nnFrP4Nnj
Overlap shape code with many objects:
https://editor.p5js.org/StevesMakerspace/sketches/u8P9jnH29
My fxhash project:
https://www.fxhash.xyz/generative/21014
Watercolor and paper texture video:
https://youtu.be/MEYdsoZua7E
Video about using clipping mask:
https://youtu.be/Wdz71QzcdyY
Mind blown gif:
https://tenor.com/view/boom-mind-blown-mind-blowing-eyeglasses-gif-15569009
Join my Discord: https://discord.gg/FSW6zzU
Follow me on Twitter: https://twitter.com/SteveMakerspace
Music:
Funk Down (Sting) by MK2 (theme)