• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Kwp2 100107
 

Kwp2 100107

on

  • 695 views

 

Statistics

Views

Total Views
695
Views on SlideShare
671
Embed Views
24

Actions

Likes
0
Downloads
12
Comments
0

2 Embeds 24

http://yoppa.org 16
http://yoppa.jpn.org 8

Accessibility

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Kwp2 100107 Kwp2 100107 Presentation Transcript

  • // void setup(){ size(400,400); fill(31,127,255); noStroke(); } void draw(){ background(0,0,25); ellipse(mouseX, mouseY, 40, 40); }
  • void setup(){ size(400,400); fill(31,127,255); noStroke(); } void draw(){ background(0,0,25); ellipse(mouseX, mouseY, 40, 40); ellipse(width-mouseX, mouseY, 40, 40); }
  • void setup(){ size(400,400); fill(31,127,255); noStroke(); } void draw(){ background(0,0,25); ellipse(mouseX, mouseY, 40, 40); ellipse(width-mouseX, mouseY, 40, 40); ellipse(mouseX, height-mouseY, 40, 40); ellipse(width-mouseX, height-mouseY, 40, 40); }
  • // boolean pressed = false; void setup(){ size(400,400); fill(31,127,255); noStroke(); } void draw(){ background(0,0,25); // if(pressed){ ellipse(mouseX, mouseY, 40, 40); } } // void mousePressed(){ pressed = true; } // void mouseReleased(){ pressed = false; }
  • // boolean pressed = false; void setup(){ size(400,400); fill(31,127,255); noStroke(); background(0,0,25); } void draw(){ // if(pressed){ ellipse(mouseX, mouseY, 40, 40); } } // void mousePressed(){ pressed = true; } // void mouseReleased(){ pressed = false; }
  • boolean pressed = false; void setup(){ size(400,400); fill(31,127,255); noStroke(); background(0,0,25); } void draw(){ if(pressed){ ellipse(mouseX, mouseY, 10, 10); ellipse(width-mouseX, mouseY, 10, 10); ellipse(mouseX, height-mouseY, 10, 10); ellipse(width-mouseX, height-mouseY, 10, 10); } } void mousePressed(){ pressed = true; } void mouseReleased(){ pressed = false; }
  • boolean pressed = false; void setup(){ size(400,400); noStroke(); background(0,0,25); } void draw(){ if(pressed){ fill(31,127,255,100); ellipse(mouseX, mouseY, 10, 10); fill(255,31,127,100); ellipse(width-mouseX, mouseY, 10, 10); fill(31,255,127,100); ellipse(mouseX, height-mouseY, 10, 10); fill(31,255,255,100); ellipse(width-mouseX, height-mouseY, 10, 10); } } void mousePressed(){ pressed = true; } void mouseReleased(){ pressed = false;
  • boolean pressed = false; int count; void setup(){ size(400,400); noStroke(); colorMode(HSB,360,100,100,100); background(0); } void draw(){ if(pressed){ fill(count%360,80,80,20); ellipse(mouseX, mouseY, 20, 20); ellipse(width-mouseX, mouseY, 20, 20); ellipse(mouseX, height-mouseY, 20, 20); ellipse(width-mouseX, height-mouseY, 20, 20); } count = count + 1; } void mousePressed(){ pressed = true; } void mouseReleased(){ pressed = false;