Uploaded February 2025 | Updated November 2026, 1 hour 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
π String Art Code: editor.p5js.org/pattvira/sketches/x2lYLN8xB
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
References:
π Petros Vrellis: instagram.com/pvrellis
Timestamps:
0:00 Intro
01:15 Approach
02:30 Step 1: Prepare the Base Image
07:42 Step 2: Define the Circular Frame
15:36 Step 3: Find the Optimal Thread Paths (Greedy Algorithm)
30:40 Step 4: Update the Image
36:08 Final results!
37:02 Save and export thread paths
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
π String Art Code: editor.p5js.org/pattvira/sketches/x2lYLN8xB
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
References:
π Petros Vrellis: instagram.com/pvrellis
Timestamps:
0:00 Intro
01:15 Approach
02:30 Step 1: Prepare the Base Image
07:42 Step 2: Define the Circular Frame
15:36 Step 3: Find the Optimal Thread Paths (Greedy Algorithm)
30:40 Step 4: Update the Image
36:08 Final results!
37:02 Save and export thread paths










