Software Alternatives & Reviews

Ask HN: What packages can be used to create interactive mathematics simulations?

Plotly.js D3.js
  1. Open-source JavaScript charting library behind Plotly and Dash - plotly/plotly.js
    Well, MathML[1] support is (nearly) everywhere now, and as the docs say: <i>MathML Core is a subset with increased implementation details based on rules from LaTeX and the Open Font Format. It is tailored for browsers and designed specifically to work well with other web standards including HTML, CSS, DOM, JavaScript.</i> I don't have a lot of experience working with this stuff (yet) but if you can script your MathML objects with Javascript, you should be able to make whatever interactive "stuff" you want in terms of math notation. Now drawing objects and plots and stuff is a different question. There's stuff like Plotly[2], D3[3], Sigma[4], etc. That might be useful depending on exactly what effects you're going for. [1]: https://developer.mozilla.org/en-US/docs/Web/MathML [2]: https://github.com/plotly/plotly.js [4]: https://www.sigmajs.org/.

    #Application And Data #Libraries #Charting Libraries 3 social mentions

  2. 2
    D3.js is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using HTML, SVG, and CSS.
    Pricing:
    • Open Source
    Well, MathML[1] support is (nearly) everywhere now, and as the docs say: <i>MathML Core is a subset with increased implementation details based on rules from LaTeX and the Open Font Format. It is tailored for browsers and designed specifically to work well with other web standards including HTML, CSS, DOM, JavaScript.</i> I don't have a lot of experience working with this stuff (yet) but if you can script your MathML objects with Javascript, you should be able to make whatever interactive "stuff" you want in terms of math notation. Now drawing objects and plots and stuff is a different question. There's stuff like Plotly[2], D3[3], Sigma[4], etc. That might be useful depending on exactly what effects you're going for. [1]: https://developer.mozilla.org/en-US/docs/Web/MathML [2]: https://github.com/plotly/plotly.js [4]: https://www.sigmajs.org/.

    #Javascript UI Libraries #Charting Libraries #Data Visualization 159 social mentions

Discuss: Ask HN: What packages can be used to create interactive mathematics simulations?

Log in or Post with