2 ms·
Ganja.js is an amazingly general GA library. The problem with GA in general is that it uses a LOT of numbers. (3DPGA uses 4d multivectors with 16 numbers for ev
by itishappy 2y ago
Ganja.js is an amazingly general GA library. The problem with GA in general is that it uses a LOT of numbers. (3DPGA uses 4d multivectors with 16 numbers for every object, so dyadic operations can involve up to 16^2 elementary operations, similar to a matmul!) For most practical applications many of them cancel out and can be optimized away. I don't believe ganja.js does this, but there are algebra generators on the site that produce optimized code. I'm not sure why they chose the general library for their landing page instead of baking the animations, but the fact that it runs as performantly as it does is actually quite impressive to me!
For a glimpse at the power of ganja.js, check out the coffeeshop examples:
https://enkimute.github.io/ganja.js/examples/coffeeshop.html https://enkimute.github.io/ganja.js/examples/coffeeshop.html