MCPcopy
hub / github.com/jamiebuilds/tinykeys / randomInRange

Function randomInRange

example/index.tsx:37–39  ·  view source on GitHub ↗
(min: number, max: number)

Source from the content-addressed store, hash-verified

35 const defaults = { startVelocity: 30, spread: 360, ticks: 60, zIndex: 0 }
36
37 function randomInRange(min: number, max: number) {
38 return Math.random() * (max - min) + min
39 }
40
41 const interval = setInterval(() => {
42 const timeLeft = animationEnd - Date.now()

Callers 1

index.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…