Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PFont myFont; // this variable holds a font
- PGraphics myPGraphic; // the variable holds a graphic
- String myText = "FUN";
- int myUnit = 10;
- // this runs once at the begining
- void setup() {
- size(960, 540);
- noStroke();
- for (int y = 0; y < height; y+=myUnit) {
- for (int x = 0; x < width; x+=myUnit) {
- ellipse(x, y, 5, 5);
- }
- }
- }
- //this runs forever
- void draw() {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement