Improving performance and anti-alliasing on a background animation (Line2)

An easy way is to check if FPS reaches 60 or instead throttles to 30 (which is doing for me)

A small tip (it will not be a huge improvement): Instead of doing:

scene.children[0].children[index].position.x = ...
scene.children[0].children[index].position.y = ...
scene.children[0].children[index].position.z = ...

You can do:

scene.children[0].children[index].position.set(  ... ,  ... , ... );