Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
59
seed(0)
60
61
def
fade(t):
62
return
t * t * t * (t * (t * 6 - 15) + 10)
63
64
def
lerp(a, b, t):
65
return
(1 - t) * a + t * b
Callers
1
perlin3
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected