Placing shapes and images inside of shapes - Clipping masks in p5.js
Channel:
Subscribers:
7,360
Published on ● Video Link: https://www.youtube.com/watch?v=Wdz71QzcdyY
In this video, I go over various examples of using the clip function, mask function, and erase function to place images and shapes inside of other shapes, and make effects inside of shapes, such as a Perlin noise field inside of a circle. Very useful when making generative art / creative coding in p5.js.
Example code used in video: https://editor.p5js.org/StevesMakerspace/sketches/QgIphAoaM
Masking Images video by Jeff Thompson:
https://www.youtube.com/watch?v=V-8FE_IQONY
Masking Effect video by Kazuki Umeda:
https://www.youtube.com/watch?v=_Nj49oc5WO4
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
Tags:
p5js
coding in p5js
learn to code
art generator
computer art
digital art
digital painting
p5.js art maker
generative art process
creative coding process
p5js generative art
p5js creative coding
clipping mask
p5js clipping
p5js mask
p5js shape inside shape
p5js clipping mask
p5js effect inside shape
perlin noise inside circle
image inside circle
p5js erase function
p5js cutout
p5js image inside circle
p5js gen art
generative art
p5js tutorial