The site has a problem with the adaptability of the scene three js, I subscribe to the resizing of the window and prescribe renderer.setSize (canvas.width, canvas.height). But the scene is enlarged regardless of the window changes (down or up). Who can tell what the problem is?
Everything was tested in the Opera browser, windows system. Server on Node JS.
https://pastebin.com/uiVmwaVw
const renderer = new THREE.WebGLRenderer({canvas: canvas, antialias: true});, herecanvasis taken from html. - prisoner849