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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    3

Package Sidebar

Install

npm i pick-point-on-sphere

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ataber