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