Skip to content

Instantly share code, notes, and snippets.

wonderburg7

Block or report user

Report or block wonderburg7

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Randomly placed rotating 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 = 400,picwidth = 400;
int glovenumber = 700;
View Successful shapes in shapes.pde
float turtleX;
float turtleY;
float turtleHeading = 0;
int numberofshapes = 8;
float sides = 3;
float angle;
float length = 200;
void setup() {
size(1000, 1000);
View Squares galore using turtle.pde
float turtleX;
float turtleY;
float turtleHeading = 0;
int numberofsquares = 2000;
void setup() {
size(1000, 1000);
turtleX = width/2;
turtleY = height/2;
background(64);
View Flying particles.pde
// Creating an array of objects.
int oldx;
int oldy;
boolean recording = false;
Mover[] movers = new Mover[400];
void setup() {
size(600,600);
View gist:ef003975a64e0e8ea04132948039a95d
int edgedistance = 400;
int gridpoints = 10;
int griddistance = (4000-400-400)/gridpoints;
int x1 = 4000 - edgedistance;
int y1 = edgedistance;
int x2 = edgedistance;
int y2 = edgedistance+griddistance;
void setup() {
size(4000,4000);
View diamond not working.pde
int littledistance = 200;
int bigdistance = int(littledistance*1.618);
void setup() {
size(1000, 1000);
smooth();
background(108);
}
View diamonds.pde
PImage img, img1, img2, img3, img4, img5, img6, img7, img8, img9; // Declare a variable of type PImage
int x = 0;
int y = 0;
int bigdistance = 4000;
int distance = 400;
int gridpoints = (bigdistance/distance);
int picheight = 421,picwidth = 0;
int counter = 1;
void setup() {
View almost flow.pde
//from youtube video https://www.youtube.com/watch?v=le6t-kpXFZ4
float inc = 0.8;
float scl = 5;
int xcols, yrows;
Particle[] parts = new Particle[3000];
PVector[] flowField;
PVector prePos = new PVector(random(width), random(height));
int h = 1;
View gist:d5b04127596aa44084b7ac9d31ae6064
/*
* Demonstrates the use of the GifAnimation library.
* Exports a GIF-File to the sketch folder if space
* bar is pressed. Wow, feels like 90's! ;)
*/
import gifAnimation.*;
import processing.opengl.*;
GifMaker gifExport;
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;
You can’t perform that action at this time.