Skip to content

Instantly share code, notes, and snippets.

Avatar

Marc Edwards marcedwards

View GitHub Profile
@marcedwards
marcedwards / retrotriangles.pde
Created Sep 22, 2020
Retro triangles in Processing
View retrotriangles.pde
//
// Retro triangles.
// Created using Processing 3.5.4.
//
// Code by @marcedwards from @bjango.
//
// A GIF of this code can be seen here:
// https://twitter.com/marcedwards/status/1307655695819403265
//
@marcedwards
marcedwards / zigzags.pde
Created Jun 2, 2020
Zigzags in Processing
View zigzags.pde
//
// Zigzags.
// Created using Processing 3.5.4.
//
// Code by @marcedwards from @bjango.
//
void setup() {
size(400, 400, P2D);
frameRate(30);
@marcedwards
marcedwards / cloudzoom.pde
Last active May 30, 2020
Cloud Zoom in Processing
View cloudzoom.pde
//
// Cloud Zoom.
// Created using Processing 3.5.4.
//
// Code by @marcedwards from @bjango.
//
// A GIF of this code can be seen here:
// https://twitter.com/marcedwards/status/1266555783061225473
//
@marcedwards
marcedwards / interferenceworm.pde
Created May 20, 2020
Interference Worm in Processing
View interferenceworm.pde
//
// Interference Worm.
// Created using Processing 3.5.4.
//
// Code by @marcedwards from @bjango.
//
color dark = #333333;
color light = #fbfbfb;
@marcedwards
marcedwards / rainbowsphere.pde
Last active Jun 5, 2020
Rainbow Sphere in Processing 3.5.4
View rainbowsphere.pde
//
// Rainbow Sphere.
// Created using Processing 3.5.4.
//
// Code by @marcedwards from @bjango.
//
// A GIF of this code can be seen here:
// https://twitter.com/marcedwards/status/1261625706326286336
//
@marcedwards
marcedwards / woven.pde
Last active May 12, 2020
Woven lines in Processing
View woven.pde
//
// Woven lines.
// Created using Processing 3.5.4.
//
// Code by @marcedwards from @bjango.
//
// A GIF of this code can be seen here:
// https://twitter.com/marcedwards/status/1238436611785773057
//
@marcedwards
marcedwards / voronoi.pde
Last active May 6, 2020
Some wiggly voronoi in Processing
View voronoi.pde
//
// Some wiggly voronoi.
// Created using Processing 3.5.4.
//
// Code by @marcedwards from @bjango.
//
// A GIF of this code can be seen here:
// https://twitter.com/marcedwards/status/1258000317804732416
//
@marcedwards
marcedwards / squigglyline.pde
Last active Jan 18, 2020
A squiggly line that becomes less squiggly, in Processing
View squigglyline.pde
//
// Squiggly Line.
// Created using Processing 3.5.4.
//
// Code by @marcedwards from @bjango.
//
// This was a response to a tweet :)
// https://twitter.com/WalterStephanie/status/1218183269361049600
//
// A GIF of this code can be seen here:
@marcedwards
marcedwards / splitlines.pde
Last active May 6, 2020
Split Lines in Processing
View splitlines.pde
//
// Split Lines.
// Created using Processing 3.5.3.
//
// Code by @marcedwards from @bjango.
//
// A GIF of this code can be seen here:
// https://twitter.com/marcedwards/status/1212718884224040965
//
// Very, very, very heavily inspired by this animation:
@marcedwards
marcedwards / swatches.pde
Created Dec 20, 2019
HEX to swatches in Processing
View swatches.pde
void setup() {
size(400, 400);
noLoop();
noStroke();
}
void draw() {
background(0);
color[] colors = { #811eff, #ff0000, #811eff, #ff0000, #00ff00, #00ffff, #811eff, #ff0000, #811eff, #ff0000, #00ff00, #00ffff, #811eff, #ff0000, #811eff, #ff0000, #00ff00, #00ffff, #811eff, #ff0000, #811eff, #ff0000, #00ff00, #00ffff };
You can’t perform that action at this time.