'Rupert Smith' via Elm Discuss
2017-05-04 13:56:05 UTC
I need to implement some 2d geometry transformations, and would like to use
3x3 matrices for this. Does anyone have some experience or recommend one
library over another? I don't really need maximum performance at this
stage, the drawing I am rendering will be relatively static and not consist
of a huge number of parts. The output will be SVG.
There is elm-community/linear-algebra, but that only has 4x4 matrices and
is a native module, making it a little harder to add to and publish my own
additions. A 4x4 can always be used where a 3x3 can though.
There is eeue56/elm-flat-matrix, which sounds as though it will be fairly
efficient as a pure Elm implementation.
There is benansell/elm-geometric-transformation, which does what I need for
now. It hides the internal representation and I just had a peek at the
source and it is not a 3x3 matrix but 2x2 with transformation scalars held
separately. Might be nice to work more directly with matrices from the
point of view of being able to extend the work and I am pretty familiar
with linear algebra.
Any others or thoughts?
3x3 matrices for this. Does anyone have some experience or recommend one
library over another? I don't really need maximum performance at this
stage, the drawing I am rendering will be relatively static and not consist
of a huge number of parts. The output will be SVG.
There is elm-community/linear-algebra, but that only has 4x4 matrices and
is a native module, making it a little harder to add to and publish my own
additions. A 4x4 can always be used where a 3x3 can though.
There is eeue56/elm-flat-matrix, which sounds as though it will be fairly
efficient as a pure Elm implementation.
There is benansell/elm-geometric-transformation, which does what I need for
now. It hides the internal representation and I just had a peek at the
source and it is not a 3x3 matrix but 2x2 with transformation scalars held
separately. Might be nice to work more directly with matrices from the
point of view of being able to extend the work and I am pretty familiar
with linear algebra.
Any others or thoughts?
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.