Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup() {
- size(400, 400);
- }
- void draw(){
- for (int i = 0; i < 10; i = i+1) {
- if (i < 5) {
- fill(153);
- } else {
- fill(204, 102, 0);
- }
- ellipse(i*30, height/2, 10, 10);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement