How to Create a Shape Drawing Pad like Doodle Kids in Processing: The Basics (Part 1)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
527 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 6, 2010

This should be your first tutorial with Processing. Processing is a Java-based, object-oriented computer language that is simple, yet more practical than C. It was written by two MIT graduates, and it is the best you can get. This will teach you how to create your own Doodle Kids.

Citations:
Doodle Kids!: http://virtualgs.larwe.com/Virtual_GS/Doodle_Kids.html

Full Source Code:

void setup(){
size(400,400);
background(random(225),random(225),random(225));
}

void draw(){
int mousix=mouseX;
int mousiy=mouseY;
}

void mouseDragged(){
int mousix=mouseX;
int mousiy=mouseY;
rect(mousix,mousiy,20,20);
fill(random(225),random(225),random(225));
}

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (AJSunsetComputerAid)

  • Look for Part 2

see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • lol squeeker!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more