Skip to content

Instantly share code, notes, and snippets.

//changed from https://www.openprocessing.org/sketch/126679
int sizeX = 500;
int sizeY = 500;
int number=1;
int count = 15;
float inc = 1;
Tentacle[] tentacles;
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 = "channeler";
int numberofcharacters = string1.length();
int x = picwidth;
int y = picwidth;
static final color BG = -32;
@wonderburg7
wonderburg7 / gist:d5b04127596aa44084b7ac9d31ae6064
Created November 7, 2018 21:56
bad scrolling writing.pde
/*
* 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;
int x1 = 0; // always stays the same
int xDistance = 200;
int y1 = 0; //should grow with each addition
int x2 = 0; //shouldn't change either
int y2 = 0;
int lineLength = 0;
int circSize;
int arcWidth, arcHeight, lineLength2;
int quadHeight, quadWidth, qx2, qy2, qx3, qy3, qx4, qy4, coin, coin2, circWidth;
int randTen;
PImage img1, img2, img3, img4, img5, img6, img7, img8, img;
float i = 0;
static final color BG = -4;
void setup()
{
size(1000,1000,P3D);
img1 = loadImage("assembly (1).png");
img2 = loadImage("assembly (2).png");
img3 = loadImage("assembly (3).png");
int i = 0, j =0, k =0, y=0, r, degreepoint = 0, d1, d2;
int angle1, angle2, point;
int radius = 400;
void setup()
{
size(4000, 4000);
background(255, 254, 233);
noLoop();
}
//PImage pupil;
Pupil p1;
Pupil p2, p3, p4, p5, p6, p7;
PImage img1;
PVector eye = new PVector(300, 300);
void setup(){
size(1000, 1000);
imageMode(CENTER);
img1 = loadImage("weird guy.png");
float ry = 0, ry2, i, j;
void setup() {
size(700, 700);
background(57);
smooth();
noFill();
stroke(2);
noLoop();
}
PImage img1, img2, img3;
float x1, x2, y1, y2;
float angle1 = 0, angle2 = 15;
float scalar = 15;
int flapvalue = 1;
int bee = 1;
void setup() {
size(200, 120);
imageMode(CENTER);
//Create the ArrayList of Waves
ArrayList<Wave> waves = new ArrayList<Wave>();
void setup() {
size(800, 800);
//Set all ellipses to draw from the Center
ellipseMode(CENTER);
noFill();
strokeWeight(2);