Huge performance problems on position change

I’m working on a project that has normal divs positioned to 3D objects (spheres). Whenever the camera changes I use an event that changes the position of the div according to the position of the 3D sphere.

When moving the camera I experience huge performance problems, especially on Chrome. (It’s not as bad on other browsers).

The project can be found here:

Is there is a fix for this or a better way to make ‘2d labels’?

Try to replace this: = proj.x + 'px'; = proj.y + 'px';  

with this: = `translate(${proj.x}px, ${proj.y}px)`;

And there is an example for 2d labels:

Thanks for your response. The code didn’t do it for me, but the example did! Thanks.