Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float x,y,a,b;
- float size;
- void setup(){
- size(500,500);
- x=random(width);
- y=random(height);
- }
- void draw(){
- }
- void mousePressed(){
- float tailEnd=random(10,60);
- fill(random(255),random(255),random(255));
- corgi(mouseX, mouseY);
- }
- void corgi(float a,float b) {
- rect(a,b,100,100);
- rect(a+25,b+75,30,30);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement