MatrixMath - Joyje/schlafli GitHub Wiki
Right now, the Sylvester.js library is used for matrix math. In the future however, this should be replaced or edited so that it also includes all the schläfli math.
Why?
Because coding all the math necessary to generate x-dimension polytopes from schläfli symbols means we are already creating a library with math functions. If these would be integrated into a matrix math library (or necessary matrix math integrated into the schläfli library), we could probably make the code much more efficient.
Now imagine exporting a hyperbolic object in 6 or 7 dimensions to a file. What model viewing software could open such a file? Probably none. The VOID ITSELF needs to be determined by some kind of schläfli function for this to work. The math used for creating a void comes from the matrix libraries used by that program. Our program needs to be able to create hyperbolic 7D void if the inputted schläfli symbol represents an object in 7D hyperbolic space.
The long term goal of this project is to be able to input ANY schläfli symbol. This means the model viewer should be able to handle both 2D and 200+D, both hyperbolic and euclidean planes. This calls for writing a new, or modifying a powerful already existing matrix library.
Is building this matrix library high priority?
No. Unless you want to do it because you think its fun. :) A tweek in the current schläfli function to allow generating polytopes in 3D from the schläfli symbols is much higher priority at the moment.
Before anything like this is attempted, we should code the illustrator in such a way that the matrix libraries are easy to change/replace if necessary. Becouse of this, the schläfli project uses "the bridge".