Math

Top 23 Math Open-Source Projects

  1. freeCodeCamp

    freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

    Project mention: 🔥 Hidden Gems on GitHub That Every Developer (IT/Non-IT) Needs to Explore | dev.to | 2025-05-30

    🧠 1. FreeCodeCamp 📍 https://github.com/freeCodeCamp/freeCodeCamp  Why it's awesome:  It's not just a repo - it's a universe. FreeCodeCamp helps you learn to code for free with structured paths in Web Development, Data Science, Machine Learning, Python, DSA, and more. ✅ Best For: Beginners, career switchers  🔧 Tech Stack: HTML, CSS, JavaScript, Python, APIs  🌱 Bonus: Certification courses you can showcase on LinkedIn

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.

    SurveyJS logo
  3. LeetCode-Go

    ✅ Solutions to LeetCode by Go, 100% test coverage, runtime beats 100% / LeetCode 题解

  4. manim

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

    Project mention: 13 GitHub Projects that Supercharge Your AI and Development Journey 🚀 | dev.to | 2025-03-03

    Stars: 30321 Author: ManimCommunity Star the manim repository⭐

  5. DSA-Bootcamp-Java

    This repository consists of the code samples, assignments, and notes for the Java data structures & algorithms + interview preparation bootcamp of WeMakeDevs.

    Project mention: Open-Source Java DSA and Interview Prep Bootcamp by WeMakeDevs | news.ycombinator.com | 2024-10-03
  6. KaTeX

    Fast math typesetting for the web.

    Project mention: KaTeX VS semantic-math-editor - a user suggested alternative | libhunt.com/r/KaTeX | 2025-06-05
  7. gpu.js

    GPU Accelerated JavaScript

  8. mathjs

    An extensive math library for JavaScript and Node.js

    Project mention: Top 17 Tools for Scientific Simulation & Modeling | dev.to | 2025-06-21
  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. SymPy

    A computer algebra system written in pure Python

    Project mention: Mathics 7.0 – Open-source alternative to Mathematica | news.ycombinator.com | 2024-12-07

    It's an interesting exercise to think about why the performance of Sum[i, {i, 1, 100000}] differs between Mathics and MMA: Mathics just calls down to sympy, which I think just does the sum in Python [1]; Mathematica (likely) pattern-matches and computes the 100000th triangular number directly, since I know Mathematica relies heavily on standard tables of summations/integrals/etc.

    [1] https://github.com/sympy/sympy/blob/master/sympy/concrete/su....

  11. mlcourse.ai

    Open Machine Learning Course

  12. GLM

    OpenGL Mathematics (GLM)

    Project mention: New Year, New Game Engine - Nikola Engine Devlog 0 | dev.to | 2025-02-26

    As for math, that was the easiest choice as of yet. No doubt, GLM is a "gold standard" at this point. For OpenGL it is, at least. But, like with a lot of the other APIs, I decided to build a wrapper around it rather than directly reference the library in the engine's code. And for physics, well, I had not come upon that answer just yet. I did try to make my own physics logic at some point. And while it was, surprisingly, successful, I wanted more than just a simple physics layer. I wanted something more complex and, more importantly, faster than my implementation. I have not decided upon a physics library yet. But I'll cross that bridge when I come to it.

  13. OpenBLAS

    OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.

    Project mention: LAPACK in your web browser | dev.to | 2024-12-20

    To take NumPy as an example, NumPy is a single monolithic library, where all of its components, outside of optional third-party dependencies such as OpenBLAS, form a single, indivisible unit. One cannot simply install NumPy routines for array manipulation without installing all of NumPy. If you are deploying an application which only needs NumPy's ndarray object and a couple of its manipulation routines, installing and bundling all of NumPy means including a considerable amount of "dead code". In web development parlance, we'd say that NumPy is not "tree shakeable". For a normal NumPy installation, this implies at least 30MB of disk space, and at least 15MB of disk space for a customized build which excludes all debug statements. For SciPy, those numbers can balloon to 130MB and 50MB, respectively. Needless to say, shipping a 15MB library in a web application for just a few functions is a non-starter, especially for developers needing to deploy web applications to devices with poor network connectivity or memory constraints.

  14. QuantLib

    The QuantLib C++ library

  15. algodeck

    An Open-Source Collection of Flash Cards to Help You Preparing Your Algorithms & Data Structures and System Design Interviews 💯

    Project mention: 12 Months of Mandarin | news.ycombinator.com | 2024-10-04

    I started with these decks:

    https://github.com/teivah/algodeck

    https://github.com/teivah/designdeck

    Essentially I'd have a question like "invert a binary tree", "implement union-find", or "structure of a topological sort". All of these are small enough that I can keep them in my head.

    For small algorithms I would just regurgitate the code line-for-line in my head. For more complex ones I would just go over the structure (not actual code), e.g. I know that topological sort can use a stack or queue, you need to track indegree, add nodes to the stack/queue when their indegree == 1, and so on.

    I also used this to help learn (and really understand) common runtimes which helped me when deriving the runtimes of my own algorithms.

    Since I started with premade decks I had to look at lot of things up during my walks, but that slowed down as towards the end of my studying.

    I did all this to prep for interview (which I wrote about on my blog: https://sjer.red/blog/2024/job-hunt/) -- I would say it worked fairly well for me though you definitely need to pair it with LeetCode or similar.

  16. CGal

    The public CGAL repository, see the README below

    Project mention: Cgal: A Powerful Open-Source Computational Geometry Library | news.ycombinator.com | 2024-08-06
  17. livebook

    Automate code & data workflows with interactive Elixir notebooks

    Project mention: Zasper: A Modern and Efficient Alternative to JupyterLab, Built in Go | news.ycombinator.com | 2025-01-01

    How's the maturity compared to Livebook?

    https://livebook.dev/

  18. stdlib

    ✨ Standard library for JavaScript and Node.js. ✨

    Project mention: Using AI in the development of stdlib | dev.to | 2025-07-17

    Given that stdlib's involvement is central to my perspective, it's worth providing some context on the project. stdlib is a comprehensive open-source standard library for JavaScript and Node.js, with a specific and ambitious goal: to be the fundamental library for numerical and scientific computing on the web. It is a large-scale project with well over 5 million source lines of JavaScript, C, Fortran, and WebAssembly, and composed of thousands of independently consumable packages, bringing the rigor of high-performance mathematics, statistics, and machine learning to the JavaScript ecosystem. Think of it as a foundational layer for data-intensive applications similar to the roles NumPy and SciPy serve in the Python ecosystem. In short, stdlib isn't your average JavaScript project.

  19. cute_headers

    Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games

    Project mention: Collection of one-file C/C++ libraries with no dependencies, primarily for games | news.ycombinator.com | 2025-02-08

    Since you left this "optimize me" comment here:

    https://github.com/RandyGaul/cute_headers/blob/755849fc2819d...

    See an optimized quaternion multiplication implementation in SSE by me here:

    https://stackoverflow.com/questions/18542894/how-to-multiply...

  20. MathUtilities

    A collection of some of the neat math and physics tricks that I've collected over the last few years.

  21. ceres-solver

    A large scale non-linear optimization library

    Project mention: High-Fidelity 3D Mesh Generation at Scale with Meshtron – Nvidia Technical Blog | news.ycombinator.com | 2024-12-16

    Texture coordinates can already be represented as a constrained minimization problem so it already is "solved" in the sense that you can brute force any quality level by putting enough CPU power into a solver like http://ceres-solver.org/

  22. MathNet

    Math.NET Numerics

  23. simple-statistics

    simple statistics for node & browser javascript

  24. mafs

    React components for interactive math

  25. Stats

    A well tested and comprehensive Golang statistics library package with no dependencies. (by montanaflynn)

  26. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Math discussion

Log in or Post with

Math related posts

  • Rust and WASM for Form Validation

    1 project | news.ycombinator.com | 4 Jul 2025
  • Show HN: Yet another JSON lib (C++17)

    1 project | news.ycombinator.com | 3 Jul 2025
  • 100 years of Zermelo's axiom of choice: What was the problem with it?

    2 projects | news.ycombinator.com | 14 Jun 2025
  • Hlslpp: Math library using HLSL syntax with multiplatform SIMD support

    1 project | news.ycombinator.com | 11 Jun 2025
  • KaTeX VS semantic-math-editor - a user suggested alternative

    2 projects | 5 Jun 2025
  • A free, open-source, local-first Markdown editor

    1 project | news.ycombinator.com | 24 May 2025
  • The little book about OS development

    5 projects | news.ycombinator.com | 21 Mar 2025
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 19 Jul 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source Math projects? This list will help you:

# Project Stars
1 freeCodeCamp 422,961
2 LeetCode-Go 33,595
3 manim 33,547
4 DSA-Bootcamp-Java 19,782
5 KaTeX 19,169
6 gpu.js 15,283
7 mathjs 14,805
8 SymPy 13,745
9 mlcourse.ai 10,118
10 GLM 10,063
11 OpenBLAS 6,862
12 QuantLib 6,130
13 algodeck 5,753
14 CGal 5,447
15 livebook 5,411
16 stdlib 5,280
17 cute_headers 4,703
18 MathUtilities 4,595
19 ceres-solver 4,170
20 MathNet 3,634
21 simple-statistics 3,455
22 mafs 3,320
23 Stats 2,990

Sponsored
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io