I have a canvas with only one sphere. Which one is on the middle of screen. I need to put center of it on left border of screen. I use simple css: “left” -(window.innerWidth/2) + “px”. It works, but in the case of resize of the screen, my sphere dont follow smoothly and it change the position.
For resize i use function: THREEx.WindowResize(renderer, camera);
I fight with that since one week. I have no idea where looking for solution. In three.js or in html? Or somewhere else?