MCPcopy Create free account
hub / github.com/adobe/react-spectrum / ms2f

Function ms2f

packages/@react-spectrum/ai/src/loader/react.tsx:35–35  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

33
34const FPS = 30;
35const ms2f = (ms: number) => (ms * FPS) / 1000;
36
37// Timing model: every cell exits a constant `hold` after it settles, and the
38// loop grows to fit. A cell settles DROP_SETTLE frames after its stagger, holds

Callers 1

react.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected