Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- size(400,400);
- background(0,0,255);
- fill(255,255,0);
- noStroke();
- int x = 15;
- int y = 30;
- for (int i = 0; i<8; i++)
- {
- y = y + 20;
- x = 10;
- for (int c = 0; c < 8; c++)
- {
- x = x + 20;
- triangle(x,y,2*x,y,4*x/3,5*y/6);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement