MCPcopy Create free account
hub / github.com/pyscript/pyscript / fade

Function fade

core/tests/manual/issue-2302/perlin_py.py:61–62  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

59seed(0)
60
61def fade(t):
62 return t * t * t * (t * (t * 6 - 15) + 10)
63
64def lerp(a, b, t):
65 return (1 - t) * a + t * b

Callers 1

perlin3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected