threejs-helper-set-plane-to-orthographic-rectangle

A convenient top-left centric positioning function for positioning rectangle meshes in x and y. Perfect for orthographic cameras. Just be sure that the plane you're running it on is 1x1 in size.

Usage no npm install needed!

<script type="module">
  import threejsHelperSetPlaneToOrthographicRectangle from 'https://cdn.skypack.dev/threejs-helper-set-plane-to-orthographic-rectangle';
</script>

README

threejs-helper-set-plane-to-orthographic-rectangle

experimental

A convenient top-left centric positioning function for positioning rectangle meshes in x and y. Perfect for orthographic cameras. Just be sure that the plane you're running it on is 1x1 in size.

Usage

NPM

License

MIT, see LICENSE.md for details.