Appearance
Learning Vue
Mafs-vue is a Vue port of Mafs: 0.16.0 library. Vue is an approachable, performant and versatile framework for building web user interfaces.
This library was build on top of Vue for a few reasons:
- Vue is well-documented and easy to learn. Even if you've never used Vue, you can get up and running with Mafs quickly.
- Vue encourages writing declarative code. This library relies heavily on the declarative model of programming to make building a visualization feel more intuitive—just put whatever components you want on the screen, and declare what they should look like for a given state.
- Vue is pretty performant by default. While you can take a few steps to improve the performance of your Mafs visualization, it's usually performant enough to not think about it at all. This is largely because of abstractions built into Vue that Mafs relies on heavily—things like memoization, context, and batched updates.
Where to start
Vue's own documentation is a great place to start. If you're starting from complete scratch, and just want to play with Mafs, check out the Create a New Vue App section to get up and running quickly.