Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int robots = 5;
- int ax, ay, bx, by, cx, cy;
- size(1000, 800);
- for(int i=robots; i>0; i=i-1){
- ax=50;
- bx=75;
- cx=100;
- ay=height/10*robots;
- by=height/10*robots - 50;
- cy=height/10*robots;
- triangle(ax, ay, bx, by, cx, cy);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement