Skip to content

Instantly share code, notes, and snippets.

View jaycody's full-sized avatar

Jason Stephens jaycody

View GitHub Profile
PGraphics g ;
void setup() {
size(500,500);
smooth(8);
noStroke();
fill(0);
g = createGraphics(270,270);
g.beginDraw();
g.background(255);
@jaycody
jaycody / crt.pde
Created May 6, 2016 01:08 — forked from tsulej/crt.pde
CRT filter
// based on http://www.magneticrealms.com/posts/2014/02/03/a-crt-filter-without-shaders/
// generateme.tumblr.com
// generateme.blog@gmail.com
void setup() {
PImage img = loadImage("w.jpg");
size(img.width,img.height);
noFill();
smooth(8);
@jaycody
jaycody / nlinesvfield.pde
Created May 6, 2016 00:23 — forked from tsulej/nlinesvfield.pde
Nonintersecting lines vector field drawing
// generateme.tumblr.com, 2016
// idea by zach lieberman
// choose variant
int variant = 0; // 0 or 1;
void setup() {
size(800, 800);
background(0, 5, 25);
strokeWeight(0.8);