Skip to content

Instantly share code, notes, and snippets.

View bencbartlett's full-sized avatar

Ben Bartlett bencbartlett

View GitHub Profile
@beesandbombs
beesandbombs / sineShine.pde
Created January 21, 2020 01:14
sine shine
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
}
float ease(float p, float g) {
if (p < 0.5)
return 0.5 * pow(2*p, g);