Assignment: Drawing app

Make a simple mischievous drawing application like Auto-illustrator. You don’t have to make complex interfaces, just use create a similar tension between of randomness vs user agency.
Bonus: making crazy random stuff is quite easy, try to make a tool that always produces good looking, or stylistically consistent imagery.

Use at least one function from the reference we didn’t cover in class. Learn how it works and be prepared to explain it. Good examples are noise, curves, filters.

Recommended screen size is 320 x 480.

You can start from the bingo example to produce unexpected event and from the simple drawing application we made last week:

void setup(){

//I declare a variable type boolean, I call it mouseIsDown
//and I assign a value false. All in one instruction.
boolean mouseIsDown = false;

void setup() {
  size(500, 500);
  background(255, 255, 255);

void draw() {

//variable stroke according to speed
//float strokeW = abs(mouseX - pmouseX);
  //draw line only if mouse is down
  if (mouseIsDown == true) //same as if(mouseIsDown)
    line(mouseX, mouseY, pmouseX, pmouseY);


//this function is called every time you press a mouse button
void mousePressed() {
  mouseIsDown = true;

//this function is called every time you release a mouse button
void mouseReleased() {
  mouseIsDown = false;
Posted in

Post a comment