get it to start again

This commit is contained in:
semanticdata 2024-09-10 15:57:53 -05:00
parent a9988a5bf1
commit 3a19d7bd75
2 changed files with 1111 additions and 347 deletions

1456
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -518,7 +518,7 @@ async function renderGraph(container: string, fullSlug: FullSlug) {
tweens.forEach((t) => t.update(time))
app.renderer.render(stage)
requestAnimationFrame(animate)
}
// }
const graphAnimationFrameHandle = requestAnimationFrame(animate)
window.addCleanup(() => cancelAnimationFrame(graphAnimationFrameHandle))