AN ORIGINAL MANUSCRIPT SAMPLE
Your First Sketch
From The Book of Canvas
Who it is for: People with basic coding experience who want to make something visual.
Working manuscript · 2027–2028 Edition. The full book is forthcoming; text and illustrations may change.
This chapter gets one shape onto the screen. Along the way, it introduces the two functions that organize a basic p5.js sketch and the order in which shapes are painted.
Read the chapter
The preview below shows the first 3 pages. The PDF contains the complete 9-page chapter, with selectable text and the original illustrations.
Download sample chapter (PDF) ↓Open PDF in a new tab ↗


Keep exploring The Book of Canvas
Make drawings that move in p5.js. Use noise, flow fields, particles, and pixels to build up each sketch.
See the book outline →Questions or corrections? support@hackerbrewery.com