A collection of terse, efficient geometry tools.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore Initial commit. Nov 28, 2012
.travis.yml
History.md Initial commit. Nov 28, 2012
Makefile
README.md Readme Dec 19, 2012
component.json Rewrote test to use geom-poly Nov 28, 2012
index.js Rewrote test to use geom-poly Nov 28, 2012
package.json Added some silly tests. Dec 19, 2012
test.html Added a paddle and seems to have a really stable verlet integrated te… Nov 29, 2012
test.js Added some silly tests. Dec 19, 2012

README.md

geom

A collection of terse geometry utilities.

Features

  • Memory managed each utility has a pool of instances accessable using _X_.make() and _X_.free(). If you don't need pooled instances, simply pass in your own object instead.

  • State less no state is kept within the utilities, it's up to you.

API

geom.mat

Build Status

geom.vec

Build Status

geom.poly

Build Status

Example

var geom = require('geom')
  , vec = geom.vec;

var v = vec.make(10,10);
vec.smul(v,10) // => [100,100]

Links

Here are some resources which was helpful while compiling this collection: