Skip to content

Instantly share code, notes, and snippets.

View NewAlexandria's full-sized avatar
🍄
My responses are limited; you must ask the right questions.

NewAlexandria

🍄
My responses are limited; you must ask the right questions.
View GitHub Profile
@NewAlexandria
NewAlexandria / machine.js
Last active March 16, 2021 18:11 — forked from wildersachin/machine.js
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@NewAlexandria
NewAlexandria / chord.rb
Created January 1, 2016 07:02 — forked from DataKinds/chord.rb
circle modular multiplication chord renderer
# with reference to rendered output but the OP
# https://www.reddit.com/r/mathpics/comments/3yzu77/heres_an_animated_version_of_that_circular/
# and a video guide
# https://www.youtube.com/watch?v=qhbuKbxJsk8
require "rmagick"
RESOLUTION = 800
def localToGlobalCoords(n)
// Processing motion blur
// 'time' runs from 0 to 1
// ignore everything above the /////////
// by Dave @ beesandbombs
int[][] result;
float time;
void setup() {
setup_();
@NewAlexandria
NewAlexandria / index.html
Created March 25, 2013 21:29 — forked from anonymous/index.html
Fork of AnonPen cloth demo in JS
<canvas id = "c" > </canvas>
<p>
Tear the cloth with your mouse.<br><br>
Right click and drag to cut the cloth.<br><br>
Reduce physics_accuracy if it's laggy, increase it for a better effect.
</p>