2 ms·
Fair. I guess the promise of a GA-based physics engine is in the implementation as development velocity and how much work it takes to get decent performance, bu
by infogulch 3y ago
Fair. I guess the promise of a GA-based physics engine is in the implementation as development velocity and how much work it takes to get decent performance, but that wouldn't necessarily translate to users.
- meindnoch 3y agoActually, performance of GA-based approaches tend to be worse than classical vector algebra. The general multivector in a geometric algebra over an n-dimensional space has 2^n components. The general geometric product is a 2^(2n) components! In theory a sufficiently smart GA library can optimize away the zero components, but this is yet to be demonstrated in practice. And if you do it by hand, you'll end up with something very similar to classical vector algebra anyway... What GA excels at is conciseness of notation. Although, once you consider all the different product types (inner product, exterior product, dot product, scalar product, left contraction, right contraction, regressive product - did I miss anything?), it can be a bit intimidating. Some of it feels a bit like APL to me.