Skip to content

Instantly share code, notes, and snippets.

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;
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");
float ry = 0, ry2, i, j;
void setup() {
size(700, 700);
background(57);
smooth();
noFill();
stroke(2);
noLoop();
}
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();
}
//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);
//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 img1, img2, img3, img4, img5, img6;
float orbitDuration;
float orbitRad = 100;
float ang, x, y;
float rotationCounter = 0;
void setup()
{
size(900,900);
PImage img1, img2;
void setup() {
background(0,0);
size(640, 640);
noStroke();
rectMode(CENTER);
img1 = loadImage("https://i.ibb.co/w6Vx0wp/Nehlet2-small-white.png");
img2 = loadImage("https://i.ibb.co/FY0xQnG/Her-Benificence2-small-white.png");
imageMode(CENTER);
float sinLUT[];
float cosLUT[];
float SINCOS_PRECISION=1.0;
int SINCOS_LENGTH= int((360.0/SINCOS_PRECISION));
// System data
boolean dosave=false;
int num;
float pt[];
int style[];
int i = 0, j =0, k =0, y=0, r, degreepoint = 0, d1, d2;
int angle1, point;
int radius = 300;
void setup()
{
size(800, 800);
background(255, 254, 233);
noLoop();
}