Come use our code (WebGL stuff)
Using game engines for LDjam is like bringing a car jack to the gym. Efficient, effective, and vastly more capable. On the other hand, typing in matrix algebra is not a great way to spend a weekend. What's the right balance? Whatever balance we pick, obviously... ;)
We're writing some helper stuff, and maybe it can help you too. Here is a 32-bit floating point linear algebra library designed for 2D (for example, matrices are affine transformations instead of being actual matrices.) 32 bit floats in Javascript, you say? Yes, it turns out that it is possible...
P.S. All untested code is broken, so don't trust anything until you see a commit message that says "Fixed (that specific function.)"
[https://github.com/Atomotron/ld47-prep/blob/master/math32.js]