A collection of terse, efficient geometry tools.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.travis.yml
History.md
Makefile
README.md
component.json
index.js
package.json
test.html
test.js

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: