Skip to content

Instantly share code, notes, and snippets.

View lois6b's full-sized avatar

lois lois6b

  • NW
  • Oviedo, Asturias
View GitHub Profile
@beesandbombs
beesandbombs / sea.pde
Created November 30, 2017 01:50
the sea
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);