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

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • manim

    A community-maintained Python framework for creating mathematical animations. (by ManimCommunity)

  • motion-canvas

    Visualize Your Ideas With Code

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • plotly.js

    Open-source JavaScript charting library behind Plotly and Dash

  • Well, MathML[1] support is (nearly) everywhere now, and as the docs say:

    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 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

    [3]: https://d3js.org/

    [4]: https://www.sigmajs.org/

  • sigma.js

    A JavaScript library aimed at visualizing graphs of thousands of nodes and edges

  • Well, MathML[1] support is (nearly) everywhere now, and as the docs say:

    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 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

    [3]: https://d3js.org/

    [4]: https://www.sigmajs.org/

  • d3

    Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:

  • Well, MathML[1] support is (nearly) everywhere now, and as the docs say:

    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 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

    [3]: https://d3js.org/

    [4]: https://www.sigmajs.org/

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts