Skip to content

Instantly share code, notes, and snippets.

View particle beam.pde
// Creating an array of objects.
int oldx;
int oldy;
Mover[] movers = new Mover[400];
void setup() {
size(1000,250);
strokeWeight(2);
strokeJoin(ROUND);
View accidental spiral.pde
float turtleX;
float turtleY;
float turtleHeading = 0;
int numberofshapes = 200;
float sides = 3;
float angle;
float length = 50;
void setup() {
size(1000, 1000);
View Alphabet.pde
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;
View Circles Galore.pde
int x, y;
int numberofcircles = 4000;
void setup() {
size(4000, 4000);
background(0);
ellipseMode(CENTER);
//strokeWeight(0);
View Diff Shapes in shapes
void setup() {
size(4000, 4000);
background(102);
// background(0);
strokeWeight(12);
}
void draw() {
pushMatrix();
View Gloves!.pde
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() {
View Grid of Shapes.pde
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);
View Load image resize and put into hex grid.pde
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);
View Load images and randomise on hexgrid
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);
View Many Moppes.pde
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() {
You can’t perform that action at this time.