Stuttering Three.js 3D Model During Dash Graph Updates – How to Fix?

Hello!
I am new to Dash and have encountered an issue. In my project, I use Dash to build charts and Three.js to display a 3D model.
The problem is that when the chart updates in real-time (using dcc.Interval and a callback), the rotation animation of the 3D model embedded with Three.js starts to stutter. However, if the chart update is turned off, the model’s animation runs smoothly. The graph has nothing to do with the model.

drone

How can I prevent the Three.js 3D model from stuttering when the Dash chart updates?
I would appreciate any advice!

Can you provide sample code that can run independently?