Skip to content

Instantly share code, notes, and snippets.

View marcedwards's full-sized avatar

Marc Edwards marcedwards

View GitHub Profile
@marcedwards
marcedwards / splitlines.pde
Last active April 9, 2021 19:07
Split Lines in Processing
//
// 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 / retrotriangles.pde
Created September 22, 2020 05:11
Retro triangles in Processing
//
// 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 / spinner.pde
Last active November 22, 2020 22:20
A loading spinner for Processing 3.3.7
// A loading spinner.
// By @marcedwards from @bjango.
void setup() {
size(300, 300, P2D);
frameRate(30);
smooth(8);
noFill();
stroke(255);
strokeWeight(6);
@marcedwards
marcedwards / rainbowsphere.pde
Last active June 5, 2020 23:48
Rainbow Sphere in Processing 3.5.4
//
// 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 / 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);
@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 / 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 / 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 / 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 / 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
//