Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DavidHDev/react-bits
/ fract
Function
fract
src/tailwind/Animations/MetaBalls/MetaBalls.jsx:12–14 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
10
}
11
12
function fract(x) {
13
return x - Math.floor(x);
14
}
15
16
function hash31(p) {
17
let r = [p * 0.1031, p * 0.103, p * 0.0973].map(fract);
Callers
2
hash31
Function · 0.70
hash33
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected