Skip to content

Drawing Machine

You'll build a sketch where a person's hand drives the rules, hand it to three people who've never coded, and keep what they made.

About

A generative system doesn't have to be a closed box. When mouse position, touch or a microphone feeds the rules, the machine becomes a brush, and watching other people use it tells you more about your system than a hundred seeded renders. You'll build one, make it work on a phone so it can be passed around a table, and let three people draw with it while you keep your hands off. The common trap is a tool only you know how to hold, so the first thirty seconds in someone else's hands is the test.

At a glance

Per requirement
25 XP
Completion bonus
150 XP
Requirements
5
Takes
One weekend
Skill level
Intermediate (months of practice)
Cost
Free
Supplies
Nothing special
Where
At home
Other people
With other people
Locked for now
Earn two more Common badges in Generative Art to open this one. Log in to see how far along you are.

Requirements

  1. 1
    Make the mouse or a finger steer a generative brush. The pointer sets a position, but the marks come from rules: scattered dots, branching lines, a trailing flow of particles. Add a key or a button that clears and one that saves. Film thirty seconds of drawing with it. Video
  2. 2
    Give it one more input that isn't the pointer. Speed of the hand, time since the last move, or microphone loudness through p5.sound or Processing's Sound library. It should change the marks in a way a person can discover without being told. Film it reacting. Video
  3. 3
    Make it run on a phone in a browser. Use touchMoved() alongside mouseDragged(), size the canvas to windowWidth and windowHeight, and host it on a free static host or share it from the p5.js web editor. Film it working on a phone. Video
  4. 4
    Hand it to three people and don't touch it. Three people who don't code, one at a time, with no instructions beyond 'try it'. Note what they discover and what they never find. Film one of them drawing, with their permission, or take a photo of each at the screen. Photo or video
  5. 5
    Post the three drawings they made with their initials. Save each one at full size and post the three together. Write what you changed in the sketch after watching them, because you will have changed something. Photo