ehaas / ga.js

Geometric Algebra in JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Geometric algebra implementation in JavaScript. Based on the Java reference implementation from Geometric Algebra for Computer Science. See also http://www.geometricalgebra.net/

Uses eigenvalue calculator code from http://www.akiti.ca/EigR12Solver.html

Emphasis is on correctness and legibility, not speed or efficiency.

To run tests (requires jasmine-node): jasmine-node spec

To compile the parser (requires PEG.js): pegjs --cache parser.pegjs

TODO

  • compiler/interpreter for symbolic expressions
  • render to WebGL
  • multivector logarithm
  • full suite of conformal model constructs

About

Geometric Algebra in JavaScript

License:MIT License


Languages

Language:JavaScript 100.0%