Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

points-3d-to-2d

polygon-city28MIT0.1.5

Project 3D points onto a 2D plane

points, 2d, 3d, plane, projection

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], [...]]