MCPcopy Create free account
hub / github.com/codemistic/Web-Development / currentFrame

Function currentFrame

Iphone animations/index.js:6–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4const context = canvas.getContext("2d");
5
6const currentFrame = index => (
7 `https://www.apple.com/105/media/us/airpods-pro/2019/1299e2f5_9206_4470_b28e_08307a42f19b/anim/sequence/large/01-hero-lightpass/${index.toString().padStart(4, '0')}.jpg`
8)
9
10//making animation smooth with preload
11const preloadImages = () => {

Callers 3

preloadImagesFunction · 0.85
index.jsFile · 0.85
updateImageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected