Patt Vira | p5.js Coding Tutorial | Collage (Image Manipulation) @pattvira | Uploaded August 2024 | Updated October 2024, 26 minutes 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
π Collage:
π Vertical Strips: editor.p5js.org/pattvira/sketches/0B3-goH19
π Grid: editor.p5js.org/pattvira/sketches/jTFI1P8Y1
π Grid (Truly Randomized): editor.p5js.org/pattvira/sketches/-hUmZSlcX
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
References:
π p5.js get() function: p5js.org/reference/p5.Image/get
π Other tutorials using get() function:
π ASCII Text Images and Videos: youtu.be/4IyeLc6J1Uo
π Drawing with Webcam: youtu.be/hHZcIMppkFc
π Create Raster Graphics from Image: youtu.be/ruth6FZ2RK0
Timestamps:
0:00 Intro
0:38 Upload and resize image
3:23 Use get() function to get region of pixels from canvas
5:10 Example 1: vertical strips
9:01 Example 2: grid
16:19 Add margins
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
π Collage:
π Vertical Strips: editor.p5js.org/pattvira/sketches/0B3-goH19
π Grid: editor.p5js.org/pattvira/sketches/jTFI1P8Y1
π Grid (Truly Randomized): editor.p5js.org/pattvira/sketches/-hUmZSlcX
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
References:
π p5.js get() function: p5js.org/reference/p5.Image/get
π Other tutorials using get() function:
π ASCII Text Images and Videos: youtu.be/4IyeLc6J1Uo
π Drawing with Webcam: youtu.be/hHZcIMppkFc
π Create Raster Graphics from Image: youtu.be/ruth6FZ2RK0
Timestamps:
0:00 Intro
0:38 Upload and resize image
3:23 Use get() function to get region of pixels from canvas
5:10 Example 1: vertical strips
9:01 Example 2: grid
16:19 Add margins