Skip to content

Instantly share code, notes, and snippets.

View tabakerov's full-sized avatar

Dmitry Tabakerov tabakerov

View GitHub Profile
@tabakerov
tabakerov / torus2.pde
Created September 27, 2021 20:11 — forked from beesandbombs/torus2.pde
torus 2
float[][] result;
float t, c;
float ease(float p) {
p = c01(p);
return 3*p*p - 2*p*p*p;
}
float ease(float p, float g) {
p = c01(p);