p5.js Coding Tutorial | Interactive Vinyl Cover (Image Masking) @pattvira
p5.js Coding Tutorial | Interactive Vinyl Cover (Image Masking)  @pattvira
Uploaded August 2024 | Updated November 2026, 3 hours ago
LET'S CONNECT
✨ Sign up for my newsletter at pattvira.com
✨ Instagram: instagram.com/pattvira
✨ Twitter: twitter.com/pattvira
--
Links:
πŸ”— p5.js editor: editor.p5js.org
πŸ”— Interactive Vinyl Cover Code: editor.p5js.org/pattvira/sketches/-GpMFZTic
πŸ”— Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn

References:
πŸ”— p5.js mask function: p5js.org/reference/p5.Image/mask
πŸ”— p5.js filter function: p5js.org/reference/p5.Image/filter

Timestamps:
0:00 Intro
0:23 Upload an image onto sketch
2:40 Use mask function
6:17 Use filter function to blur background
7:00 Create a Mask class
9:45 Create multiple circles (Mask objects)
13:14 Rotate circles by changing angles
18:09 Make it interactive
p5.js Coding Tutorial | Interactive Vinyl Cover (Image Masking)Why Technical Literacy is Your Ultimate Defense Against AIp5.js Coding Tutorial | Donut Forget You Are Awesome 🍩 (aka coding DONUTS)p5.js Coding Tutorial |  Interactive Grid with Bouncing BallIntroduction to Shaders: A Beginners Guide (1/4)p5.js Coding Tutorial | String ArtWhat is Object-Oriented Programming (OOP) - Creative Coding with p5.jsp5.js Coding Tutorial | Persistence of Vision Effectp5.js Coding Tutorial | Location-Based Data Visualizationp5.js Coding Tutorial |  Bouncing Ballp5.js Coding Tutorial | Create Raster Graphics from ImageUpdate: What’s next for the channel?
Patt Vira |

p5.js Coding Tutorial | Interactive Vinyl Cover (Image Masking)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER