points-3d-to-2d

Project 3D points onto a 2D plane

Usage no npm install needed!

<script type="module">
  import points3dTo2d from 'https://cdn.skypack.dev/points-3d-to-2d';
</script>

README

Points 3D to 2D

Project 3D points onto a 2D plane

Usage

var points3dto2d = require("points-3d-to-2d");

var points3d = []; // [[x,y,z], [...]]
var points2d = points3dto2d(points3d, false); // [[x,y], [...]]