Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/midrender/revideo
/ map
Function
map
packages/core/src/tweening/helpers.ts:1–3 ·
view source on GitHub ↗
(from: number, to: number, value: number)
Source
from the content-addressed store, hash-verified
1
export
function
map(from: number, to: number, value: number) {
2
return
from + (to - from) * value;
3
}
4
5
export
function
remap(
6
fromIn: number,
Callers
15
lineCount
Method · 0.90
getSelectionAlpha
Method · 0.90
selectionStrength
Method · 0.90
token
Method · 0.90
drawRipple
Function · 0.90
mapPoints
Method · 0.90
measureSize
Method · 0.90
drawScope
Method · 0.90
drawToken
Method · 0.90
lerp
Method · 0.90
lerp
Method · 0.90
polarLerp
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected