Skip to content

Instantly share code, notes, and snippets.

View tp2750's full-sized avatar

Thomas Poulsen tp2750

View GitHub Profile
@beesandbombs
beesandbombs / hypnosquare.pde
Created October 26, 2020 18:51
hypnosquare
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);