pick-point-on-sphere

1.0.0 • Public • Published

pick-point-on-sphere

Pick a random point on a unit sphere in 3D.

Usage

NPM

var points = require('pick-point-on-sphere')(5);

require("pick-point-on-sphere")(numPoints)

Uniformly samples on a unit sphere, returns numPoints of samples.

Contributing

See stackgl/contributing for details.

License

MIT. See LICENSE.md for details.

Package Sidebar

Install

npm i pick-point-on-sphere

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ataber