MCPcopy Create free account
hub / github.com/SuboptimalEng/three-js-tutorials / animate

Function animate

14-tween-js/src/App.jsx:32–35  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

30
31 // part 0 - ensure that tween.js is running
32 const animate = (t) => {
33 TWEEN.update(t);
34 window.requestAnimationFrame(animate);
35 };
36 animate();
37
38 // part 1 - set up basic tween.js examples

Callers 1

AppFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected