Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup(){
- size(480,120);
- smooth();
- }
- void draw(){
- if (mousePressed){
- fill(0);
- }else{
- fill(255);
- }
- ellipse(mouseX,mouseY,80,80);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement