Skip to content

Instantly share code, notes, and snippets.

Justin Gitlin cacheflowe

View GitHub Profile
tomhicks / plink-plonk.js
Last active Jul 10, 2020
Listen to your web pages
View plink-plonk.js
atduskgreg / PWindow.pde
Last active May 29, 2020
Example of creating a Processing sketch with multiple windows (works in Processing 3.0)
View PWindow.pde
class PWindow extends PApplet {
PWindow() {
PApplet.runSketch(new String[] {this.getClass().getSimpleName()}, this);
void settings() {
size(500, 200);

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
	return mix(rand(fl), rand(fl + 1.0), fc);
joelambert / README
Created Jun 1, 2011
Drop in replacements for setTimeout()/setInterval() that makes use of requestAnimationFrame() where possible for better performance
Drop in replace functions for setTimeout() & setInterval() that
make use of requestAnimationFrame() for performance where available
Copyright 2011, Joe Lambert.
Free to use under the MIT license.
You can’t perform that action at this time.