Skip to content

Instantly share code, notes, and snippets.

View jacobjoaquin's full-sized avatar

Jacob Joaquin jacobjoaquin

View GitHub Profile
@jacobjoaquin
jacobjoaquin / jacobjoaquin-genuary2-2023.js
Created January 2, 2023 00:48
"Made in 10 Minutes". Built with p5js
// Made in 10 Minutes
// By Jacob Joaquin (@jacobjoaquin)
// For Genuary 2023
const nLines = Math.floor(Math.random() * 100) + 50
let v0, v1, p0, p1
let speed0 = Math.floor(Math.random() * 20) + 5
let speed1 = Math.floor(Math.random() * 20) + 5
int numLEDs = 16;
float LEDRingRadius = 80;
ArrayList<LED> ledList;
int position = 0;
ArrayList<LED> ledEmulatorList;
class LED {
float x = 0;
float y = 0;
@jacobjoaquin
jacobjoaquin / SimoneSays.ino
Last active March 1, 2018 15:11
Simone Says
/*
"Simone Says"
Coded by Jacob Joaquin
Build Diagram Here:
https://www.tinkercad.com/things/kgfQCV9AwxG
Requires Bounce2 Library:
1. Go to: Sketch->Include Library->Manage Libraries...
@jacobjoaquin
jacobjoaquin / oscillatorsIn3D20171222.pde
Created December 23, 2017 19:42
Plotter Art: Oscillators in 3D 20171222
/*
Oscillators in 3D 20171222
by Jacob Joaquin
email: [email protected]
twitter: https://twitter.com/JacobJoaquin
instagram: https://www.instagram.com/jacobjoaquin/
*/
import processing.pdf.*;
@jacobjoaquin
jacobjoaquin / distortionTiler.pde
Created September 24, 2017 15:35
Processing Sketch for Creating Distorted Image Tile Animations
/*
Distortion Tiler
by Jacob Joaquin
To use:
Needs a 500x500 image. Search for "Set image name here" to change filename in code.
Find me:
https://github.com/jacobjoaquin/
https://twitter.com/JacobJoaquin
@jacobjoaquin
jacobjoaquin / solarFlare.pde
Last active August 19, 2019 09:54
Solar Flare - Built with Processing
/*
Solar Flare
Jacob Joaquin
Find me:
https://github.com/jacobjoaquin/
https://hackaday.io/jacobjoaquin
https://twitter.com/JacobJoaquin
http://jacobjoaquin.tumblr.com/
https://www.instagram.com/jacobjoaquin/
@jacobjoaquin
jacobjoaquin / spiralMod2.pde
Created March 16, 2017 14:24
Star Spiral Modulation sketch for Processing 3.
int nFrames = 64;
boolean render = false;
float phaseInc = 1.0 / (float) nFrames;
float phase = 0.0;
void settings() {
size(500, 500);
//pixelDensity(displayDensity());
}
@jacobjoaquin
jacobjoaquin / WarholMarilynHueCycle.pde
Created June 2, 2016 15:02
Cycles the Hue of Andy Warhol's Marilyn Monroe Screen Print
PImage img;
int hueOffset = 0;
void setup() {
img = loadImage("warholMarilyn.jpg");
surface.setSize(img.width, img.height);
colorMode(HSB);
}
void draw() {
@jacobjoaquin
jacobjoaquin / theMetaPalette.pde
Created March 25, 2016 00:00
Class for doing custom gradients / color wheels
boolean captureFrames = false;
int nFrames = 120;
float phase = 0.0;
float phaseInc = 1 / (float) nFrames;
MetaPalette mp;
int nStrips = 40;
int ledsPerStrip = 32 * 5;
class MetaPalette {
ArrayList<Integer> colors;
@jacobjoaquin
jacobjoaquin / PerlinRainbowTube.js
Created February 10, 2016 20:12
Perlin Rainbow Tube for p5js.
var nx = 0,
ny = 1000,
nz = 2000,
nInc = 0.008;
function setup() {
createCanvas(500, 500);
colorMode(HSB);
}