This animation is derived from Basket of verlet constraints. This basket has to carry a lot more bodies (circles).
I'm experiencing performance problems, even on decent hardware (iOS and Android, the latter is worse). The bodies move like if they were in an aquarium. If I remove the basket, the performance is way better, but not yet satisfactory.
How can this be optimized in a sense that users don't have the feeling of watching a film in slow-motion?
Are there any tweaks to control the engine to do less calculation?
Am I using the appropriate physics engine or are there alternatives with significant better performance?
Remark: on my MacBook in Chrome, there is absolutely no performance problem and all movements are very smooth -> no aquarium.