Skip to content

Instantly share code, notes, and snippets.

View marcedwards's full-sized avatar

Marc Edwards marcedwards

View GitHub Profile
@marcedwards
marcedwards / outofsynclines.pde
Last active November 23, 2019 11:01
Out of sync lines in Processing
//
// Out of sync 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/1195668786340233221
//
@marcedwards
marcedwards / zigzagspiral.pde
Last active December 17, 2019 10:44
A zigzag-y spiral thing made in Processing
//
// Zigzag spiral.
// 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/1206887873338691584
//
@marcedwards
marcedwards / swatches.pde
Created December 20, 2019 06:53
HEX to swatches in Processing
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 };
@marcedwards
marcedwards / squigglyline.pde
Last active January 18, 2020 04:35
A squiggly line that becomes less squiggly, in Processing
//
// 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 / voronoi.pde
Last active May 6, 2020 17:45
Some wiggly voronoi in Processing
//
// 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 / woven.pde
Last active May 12, 2020 04:44
Woven lines in Processing
//
// 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 / mkbhd-intro.pde
Created September 27, 2018 11:21
An attempt at recreating the intro to MKBHD’s awesome videos, using Processing.
// An attempt at recreating the intro to MKBHD’s awesome videos.
// MKBHD’s videos can be seen here: https://www.youtube.com/marquesbrownlee
// A GIF of the result can be seen here: https://i.imgur.com/EAfI0uJ.gif
//
// Code by @marcedwards from @bjango.
float n1 = 0;
float n2 = 0;
float ease = 0;
@marcedwards
marcedwards / interferenceworm.pde
Created May 20, 2020 02:01
Interference Worm in Processing
//
// Interference Worm.
// Created using Processing 3.5.4.
//
// Code by @marcedwards from @bjango.
//
color dark = #333333;
color light = #fbfbfb;
@marcedwards
marcedwards / cloudzoom.pde
Last active May 30, 2020 02:24
Cloud Zoom in Processing
//
// 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 / zigzags.pde
Created June 2, 2020 00:42
Zigzags in Processing
//
// Zigzags.
// Created using Processing 3.5.4.
//
// Code by @marcedwards from @bjango.
//
void setup() {
size(400, 400, P2D);
frameRate(30);