Recently, I was trying to create a 2D linear transformation visualiser to help one of my friends learn linear algebra. While I initially created it in Scratch 2.0 (my friend wasn’t familiar with any other programming language, and I wanted her to understand how the code worked), I quickly got frustrated and moved to p5.js, a more familiar environment.
TODO
-
Animate the transformation -
This should be reasonable easy, and p5.teach may help me with this.EDIT: A version of the sketch that animates the transformation can be found here! - Make it fast - I don’t know about you, but on my PC the sketch is slightly laggy and jerky. Not much, but it’s slow. I may need help with this
- Add coordinates - Again, I may need help with this, since I don’t have a lot of experience with text in p5.js.
TL;DR
I made a 2D linear transformation visualiser. Get the code here, or just play with it here.