C Simulation

Open-source C projects categorized as Simulation

Top 23 C Simulation Projects

  1. acados

    Fast and embedded solvers for nonlinear optimal control and nonlinear model predictive control

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. keeperfx

    Open source remake and Fan Expansion of Dungeon Keeper.

    Project mention: Dungeon KeeperFX 1.4.0 with Multiplayer Released | news.ycombinator.com | 2026-07-05

    The "Further Improvements" section on the README mentions "Native cross-platform support": https://github.com/dkfans/keeperfx

    It seems like it currently runs pretty well under Wine though.

  4. space-nerds-in-space

    Multi-player spaceship bridge simulator game. Captain your starship through adventures with your friends. See https://smcameron.github.io/space-nerds-in-space

  5. libmesh

    libMesh github repository

  6. lavat

    Lava lamp simulation using metaballs in the terminal

  7. Physac

    2D physics header-only library for videogames developed in C using raylib library.

  8. webots_ros2

    Webots ROS 2 packages

  9. ChameleonMini

    The ChameleonMini is a versatile contactless smartcard emulator compliant to NFC. The ChameleonMini was first developed by KAOS. This is NOT the official repo for KAOS's ChameleonMini. For further information see the Getting Started Page (by RfidResearchGroup)

  10. markov

    Materials for book: "Markov Chains for programmers"

    Project mention: Show HN: Markov Chains for Programmers – free book (2nd ed.) with C code | news.ycombinator.com | 2026-10-14
  11. cbirds

    A flock of birds in your terminal: Craig Reynolds' boids, in braille in any terminal and as sprites in Kitty and Ghostty. One C99 program, no dependencies. Linux and macOS (by clainstone)

    Project mention: Cbirds: A flock of birds in your terminal | news.ycombinator.com | 2026-10-10
  12. robots

    Collection of quadrupedal robots configured to work in CHAMP development framework (by chvmp)

  13. siconos

    Simulation framework for nonsmooth dynamical systems

  14. terminal-simulator

    Simulation of VT52 and VT100 terminal hardware.

    Project mention: Using a 1978 terminal in 2026 (DEC VT-100) | news.ycombinator.com | 2026-04-29
  15. SWIFT

    Modern astrophysics and cosmology particle-based code. Mirror of gitlab developments at https://gitlab.cosma.dur.ac.uk/swift/swiftsim (by SWIFTSIM)

  16. SENPAI

    Molecular dynamics simulation software

  17. goma

    Finite Element Program for free surfaces problems, species transport, energy transport, non-Newtonian flow, viscoelastic flow, and more. (by goma)

  18. dopewars

    Game simulating the life of a drug dealer in New York

  19. McCode

    The home of the McStas (neutrons) and McXtrace (x-rays) Monte-Carlo ray-tracing instrument simulation codes.

  20. cimba

    A multithreaded discrete event simulation library in C, using POSIX pthreads for parallelized trials and replications, stackful asymmetric coroutines for concurrent simulated processes inside each thread, and optionally CUDA or other GP GPU parallelism for detailed model physics inside each coroutine.

    Project mention: Show HN: C discrete event SIM w stackful coroutines runs 45x faster than SimPy | news.ycombinator.com | 2026-02-03

    It is an assembly function that does not get called from anywhere. I pre-load the stack image with its intended register content from C, ending with the trampoline function address as the "return address". On the first transfer to the newly created coroutine, that gets loaded, which in turn calls the coroutine function that suddenly is in its argument register along with its arguments. If the coroutine function ever returns, that just continues the trampoline function, which proceeds to call the coroutine_exit() function, whose addres also just happened to be stored in a handy register.

    https://github.com/ambonvik/cimba/blob/main/src/port/x86-64/...

  21. pdp6

    PDP-6 Emulator

  22. apesdk

    The aim of this artificial life simulation is to create a detailed biological environment and a cognitive simulation.

    Project mention: Thirty Years My Open Source Project: The ApeSDK/Noble Ape | news.ycombinator.com | 2026-06-13

    Lots of history. Lots of experiences. Continuous development.

    https://apesdk.com/doc/

    Returned to GitHub after years on GitLab.

    https://github.com/barbalet/apesdk

    If you are interested in the philosophy of the current source.

    https://github.com/barbalet/apesdk/tree/master/book

    Enjoy.

  23. boeing-777

    Boeing 777-300ER simulation for X-Plane flight simulator

  24. alife

    A project to share on artificial life(Alife in short). It is essentially cellular automata but you could find also L-systems, swarm intelligence, physic simulations, etc.

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

C Simulation discussion

Log in or Post with

C Simulation related posts

Index

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

# Project Stars
1 acados 1,518
2 keeperfx 1,039
3 space-nerds-in-space 783
4 libmesh 762
5 lavat 630
6 Physac 612
7 webots_ros2 549
8 ChameleonMini 439
9 markov 293
10 cbirds 292
11 robots 274
12 siconos 188
13 terminal-simulator 170
14 SWIFT 163
15 SENPAI 137
16 goma 126
17 dopewars 119
18 McCode 99
19 cimba 77
20 pdp6 69
21 apesdk 58
22 boeing-777 50
23 alife 32

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that C is
the 6th most popular programming language
based on number of references?