Show HN: Mafs – React components for interactive math
mafs.dev
mafs.dev
The code snippets colorscheme/nav/typography. Well done.
Edit: looks like it's using Tailwind.
I see that you already have some animation support. Great work.
I do like it - but don’t have the time to invest in understanding how it works under the hood.
It’s also quite slow (at least on my computer) - the feedback from making changes in the python code - to seeing results can often involve re-rendering the entire video.
I would expect explainers using Mafs would be something like this page[1] where there are many interactive visualizations at various levels of abstraction as concepts are elucidated.
It still has a ways to go, but I was able to create one video with it so far and I'm working on all the pain points I ran into while using it. Feel free to check it out if you're interested!
Unfortunately i have to build sth. like that myself, because.
I don’t really have a target audience, I just enjoy building it. As I add more examples I expose more weak spots or feature opportunities.
Regarding your SO, Mafs could be a good fit if she knows React, but if not, Geogebra is a fantastic WYSIWYG visualization editor. Mafs would have the cool benefit of being able to show the underlying logic to the student though :)
The underlying logic is good, but being able to visualize the topic and play with parameters is important as well. Thanks!
Doing some trigonometry to get the angles of the points and drawing lines from the svg edges could be a better approach
Maybe I'll try to use this to help me study some maths-related subjects.
It's great that it's a React component because that makes it very easy to use it to build interactive articles with something like MDX.
I'm furious. Beautiful work.