Home  »  CodeGuidesLibrariesProgrammingSnippetsTechnology   »   Use the Three.js Orthographic Camera Example Code

Use the Three.js Orthographic Camera Example Code

Posted: January 2, 2023 | by Michael Bright

Use this Three.js orthographic camera example in your project:

const camera = new THREE.OrthographicCamera( width / - 2, width / 2, height / 2, height / - 2, 1, 1000 );
scene.add( camera );
References:

Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.