Uploaded April 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
π Wiper Typography Code: editor.p5js.org/pattvira/sketches/hkOFrj4Y5
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
Credit:
πΈ This tutorial is a re-creation of a piece by Jongmin Kim: @cmiscm (Looking for more inspiration, check out his work here: https://links.cmiscm.com)
References:
π p5.js textBounds() function reference: p5js.org/reference/#/p5.Font/textBounds
Timestamps:
0:00 Intro
0:20 Display text on canvas
3:07 Use font.textBounds() to get text's bounding box
5:20 Create vectors to store 4 corner points
12:01 Write a Letter class
18:12 Write functions to check when a letter object hits a wiper
26:41 Write a Wiper class
37:45 Final touches
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
π Wiper Typography Code: editor.p5js.org/pattvira/sketches/hkOFrj4Y5
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
Credit:
πΈ This tutorial is a re-creation of a piece by Jongmin Kim: @cmiscm (Looking for more inspiration, check out his work here: https://links.cmiscm.com)
References:
π p5.js textBounds() function reference: p5js.org/reference/#/p5.Font/textBounds
Timestamps:
0:00 Intro
0:20 Display text on canvas
3:07 Use font.textBounds() to get text's bounding box
5:20 Create vectors to store 4 corner points
12:01 Write a Letter class
18:12 Write functions to check when a letter object hits a wiper
26:41 Write a Wiper class
37:45 Final touches










