Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

// Creating an array of objects.
int oldx;
int oldy;
Mover[] movers = new Mover[400];
void setup() {
size(1000,250);
strokeWeight(2);
strokeJoin(ROUND);
float turtleX;
float turtleY;
float turtleHeading = 0;
int numberofshapes = 200;
float sides = 3;
float angle;
float length = 50;
void setup() {
size(1000, 1000);
PImage img, img1, img2, img3, img4; // Declare a variable of type PImage
int bigdistance = 2000;
int distance = 100;
int gridpoints = (bigdistance/distance);
int picheight = 210,picwidth = 210;
String string1 = "the0tsuvi0are0slavers";
int numberofcharacters = string1.length();
int x = picwidth/2;
int y = (height/2)+(picwidth/2);
int h = 1;
int x, y;
int numberofcircles = 4000;
void setup() {
size(4000, 4000);
background(0);
ellipseMode(CENTER);
//strokeWeight(0);
void setup() {
size(4000, 4000);
background(102);
// background(0);
strokeWeight(12);
}
void draw() {
pushMatrix();
PImage img, img1, img2, img3, img4; // Declare a variable of type PImage
int x = 0;
int y = 0;
int bigdistance = 2000;
int distance = 200;
int gridpoints = (bigdistance/distance);
int picheight = 210,picwidth = 210;
void setup() {
int gridpoints = 10;
int height = 4000;
int width = 4000;
int distance = (height/gridpoints);
int x = distance;
int y = distance;
int size = 250;
void setup() {
size(4000, 4000);
PImage img; // Declare a variable of type PImage
int x = 0;
int y = 0;
int bigdistance = 2000;
int distance = 100;
int gridpoints = (bigdistance/distance);
void setup() {
size(2000,2000);
background(0);
PImage img; // Declare a variable of type PImage
int x = 0;
int y = 0;
int bigdistance = 2000;
int distance = 100;
int gridpoints = (bigdistance/distance);
void setup() {
size(2000,2000);
background(0);
PImage img, img1, img2, img3, img4; // Declare a variable of type PImage
int x = 0;
int y = 0;
int bigdistance = 4000;
int distance = 400;
int gridpoints = (bigdistance/distance);
int picheight = int(429/1.5),picwidth = 0;
int counter = 1;
void setup() {