creative-work

06

Simple Drawing

A personal drawing app with canvas tools and option controls built in p5.js. Color and width persist across tool changes, exploring what settings should carry over when the way of drawing changes.

preview
Simple Drawing project preview / 프로젝트 미리보기

A drawing that continues across tool changes

Simple Drawing is a personal browser drawing app built with JavaScript and p5.js. I implemented the canvas tools and the controls used to adjust them.

The app included freehand drawing, lines, an eraser, spray, stamps, vertex adjustments for drawn shapes, cutting and pasting, and PNG export. Color and width persisted across tool changes so users did not have to choose them again. I separated options specific to a tool from settings that should carry over.

Working with a frame-based canvas

As I added features, gaps in my understanding of the p5.js frame loop became apparent. I also found p5.DOM’s approach to UI state and node handling difficult to read and maintain. Undo, redo and zoom remained ideas for later work.

Reading this alongside the location-based social platform now raises a question about what state should persist when the input tool or screen changes. That is a current interpretation, not evidence that this app directly shaped the later work.