Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Lightricks/ComfyUI-LTXVideo
/ imgToCanvas
Function
imgToCanvas
web/js/sparse_track_editor.js:296–299 ·
view source on GitHub ↗
(node, p)
Source
from the content-addressed store, hash-verified
294
}
295
296
function
imgToCanvas(node, p) {
297
const
s = getScale(node);
298
return
{ x: p.x * s, y: p.y * s };
299
}
300
301
function
canvasToImg(node, p) {
302
const
s = getScale(node);
Callers
2
hitTestPoint
Function · 0.85
render
Function · 0.85
Calls
1
getScale
Function · 0.85
Tested by
no test coverage detected