0.1.1 • Published 9 years ago

newtonian v0.1.1

Weekly downloads
8
License
-
Repository
-
Last release
9 years ago

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.