phetsims / dot

A math library with a focus on mutable and immutable linear algebra for 2D and 3D applications.
MIT License
13 stars 6 forks source link

dot

dot is a math library with a focus on mutable and immutable linear algebra for 2D and 3D applications.

By PhET Interactive Simulations https://phet.colorado.edu/

Documentation, examples, and downloads are available at http://phetsims.github.io/dot/

To check out and build the code

Our processes depend on Node.js and Grunt. It's highly recommended to install Node.js and then grunt with npm install -g grunt-cli.

(1) Clone the simulation and its dependencies:

git clone https://github.com/phetsims/assert.git
git clone https://github.com/phetsims/axon.git
git clone https://github.com/phetsims/chipper.git
git clone https://github.com/phetsims/dot.git
git clone https://github.com/phetsims/perennial.git perennial-alias
git clone https://github.com/phetsims/phet-core.git
git clone https://github.com/phetsims/sherpa.git
git clone https://github.com/phetsims/tandem.git

(2) Install dev dependencies:

cd chipper
npm install
cd ../perennial-alias
npm install
cd ../dot
npm install

(3) Build dot

Ensure you're in the dot directory and run grunt --lint=false --report-media=false. This will output files under the build/ directory

License

MIT license, see LICENSE

Contributing

If you would like to contribute to this repo, please read our contributing guidelines.