Skip to content

Instantly share code, notes, and snippets.

int seed = int(random(999999));
void setup() {
size(960, 960, P2D);
smooth(8);
pixelDensity(2);
rectMode(CENTER);
generate();
int seed = int(random(99999999));
//https://ar.pinterest.com/pin/460985711850841261/
void setup() {
size(528, 280);
smooth(8);
frameRate(30);
pixelDensity(2);
strokeCap(SQUARE);
#ifdef GL_ES
precision mediump float;
precision mediump int;
#endif
varying vec4 vertColor;
varying vec3 vertNormal;
varying vec3 vertLightDir;
varying vec4 vertTexCoord;
@manoloide
manoloide / rectShadows.pde
Created January 9, 2018 07:48
Rect Shadows Particles
ArrayList<Rect> rects;
float mx, my, mm, time;
void setup() {
size(720, 720, P2D);
generate();
}
void draw() {