Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int counter = 0;
- void setup () {
- size (1200, 800);
- textSize (128);
- frameRate (5); // sulėtina draw veikimą
- }
- void draw () {
- if (counter == 9)
- stop ();
- circle (random (width), random (height), 100);
- ++counter; // counter padidina per vienetą
- fill (0);
- rect (1000, 100, 190, 110);
- fill (255);
- text (counter, 1000, 200);
- //if (circles == 10)
- // stop;
- //if ()
- //fill (255);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement