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 random colour triangle grid with cut out triangle.pde
float radius = 28*4;
float x, y, xt = 16, xto = xt, yt = 6, xt2 = xt+20, xto2 = xt2;
//float xt3 = 0, xto3 = xt3, yt3 = bottomCutOff-6;
float rightTriangleSideSaver = 0;
float rightTriangleSideSaver2 = 0;
float rightTriangleSideSaver3 = 0;
float topCutOff = yt;
int bottomCutOff = 35;
void setup()
View random colour triangular grid.pde
float radius = 80;
float x, y, z;
void setup()
{
size( 1000, 1000 );
// background(201,206,189);
// strokeWeight( 1 );
fill(42, 42, 42);
View triangular grid lines.pde
float radius = 40;
float x, y, z;
float prevX, prevY;
void setup()
{
size( 700, 700 );
background( 0 );
stroke(255);
View LLL Square lines to corners.pde
float pointNo = 100;
float stage = 0.0;
PVector point1;
PVector point2;
PVector point3;
PVector point4;
PVector point5, point6, point7, point8;
PVector l1mp, l2mp, l3mp, l4mp;
PVector l5mp, l6mp, l7mp, l8mp;
View Diigs story circles.pde
int fontSize = 260;
String str1 = "MUSE";
int circleLineSize = 21;
int distanceBetweenLines = 55;
PFont sourceLight;
int size = 0;
int stringLength = str1.length();
int pulse = 40;
View Zen cup.pde
PImage img;
int xspacing = 1; // How far apart should each horizontal location be spaced
int w = 100, w2 = 150; // Width of entire wave
float theta = 0.0; // Start angle at 0
float theta2 = 0.0;
float amplitude = 3.0, amplitude2 = 12.0; // Height of wave
float period = 35, period2 = 150.0;// How many pixels before the wave repeats
float dx, dx2; // Value for incrementing X, a function of period and xspacing
float[] yvalues, yvalues2; // Using an array to store height values for the wave
View Mobius bobber.pde
//global variables
PImage img1, img2;
float x1, x2, y1, y2;
float angle1 = 0, angle2 = 25;
float scalar = 10;
float locationSave = height/2 + (scalar * sin(radians(angle1)));
static final color BG = -4;
void setup() {
View Square curves flip.pde
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("https://i.imgur.com/H9FOC2R.png?1");
img2 = loadImage("https://i.imgur.com/2FGaeRo.png?2");
View Flow Field.pde
FlowField flowfield;
ArrayList<Particle> particles;
int lineSize = 2;
int noOfParticles = 1000;
float rateOfGridChangeOverTime = 0.0004;
int minSpeed = 1;
int maxSpeed = 3;
int lineAlpha = 10;
View dna spinner.pde
int xspacing = 32; // How far apart should each horizontal location be spaced
int w; // Width of entire wave
float theta = 0.0; // Start angle at 0
float amplitude = 150.0; // Height of wave
float period = 500.0; // How many pixels before the wave repeats
float dx; // Value for incrementing X, a function of period and xspacing
float[] yvalues; // Using an array to store height values for the wave
void setup() {
You can’t perform that action at this time.