MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / base3

Function base3

libraries/p5.js:30235–30239  ·  view source on GitHub ↗
(t, p1, p2, p3, p4)

Source from the content-addressed store, hash-verified

30233}
30234
30235function base3(t, p1, p2, p3, p4) {
30236 var t1 = -3 * p1 + 9 * p2 - 9 * p3 + 3 * p4,
30237 t2 = t * t1 + 6 * p1 - 12 * p2 + 6 * p3;
30238 return t * t2 - 3 * p1 + 3 * p2;
30239}
30240
30241function cacheKey() {
30242 var args = new Array(arguments.length);

Callers 1

bezlenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected