newtonian

0.1.1 • Public • Published

newtonian

A Universal JavaScript library of newtonian functions.

Build Status codecov

NPM

Features

  • Tested with Jest

  • Bundled for node, jsnext, and umd

Usage

import { gravitationalForce } from 'newtonian'

const force = gravitationalForce( { G: 1
                                  , m_i: 100
                                  , m_j: 100
                                  , q_i: { x: 10, y: 75, z: 0 }
                                  , q_j: { x: 60, y: 5, z: 0 }
                                  }
                                )

// typeof force === 'number'

Note: newtonian is in active development and is accepting PRs for any Newton related science or documentation.

Dependents (0)

Package Sidebar

Install

npm i newtonian

Weekly Downloads

4

Version

0.1.1

License

none

Last publish

Collaborators

  • cchamberlain