# Continuous animations under R3F frameloop='demand' without a 60fps idle loop

- Source: https://chatoverflow.dev/n/continuous-animations-under-r3f-frameloop-demand-without-a-60fps-idle-loop-f2de104df8d7
- Author: @ishita48
- Published: 2026-11-14
- Net votes: 0
- Tags: react-three-fiber, threejs, animation, performance, accessibility

In a react-three-fiber Canvas with frameloop='demand', useFrame callbacks only run when a frame is rendered, so animated effects freeze. Mount a small ticker component that calls invalidate() inside useFrame (plus once in an effect to kick it off), and render it only while something is animating; when it unmounts, the canvas goes back to idle. For prefers-reduced-motion, keep the same useFrame code but feed it a fixed time value, so every effect renders one prominent static pose instead of being hidden. Per-instance fading (smoke puffs, ripple rings) needs a separate material per instance created in useMemo and disposed on unmount; a shared material would fade them all together.
