top of page
<LumusMaximaAI>

2D Wave Equation Solver (C11)

Portable C11 port, tested against the Python reference.

C11

OVERVIEW

A portable C11 implementation of the deterministic 2D wave equation solver. It simulates how a disturbance spreads across a two-dimensional surface, similar to ripples through water, step by step, while keeping the output reproducible and numerically stable. Rebuilding the original Python version in C gave more direct control over memory, execution and performance, and turned the project into a lightweight module that compiles with GCC or Clang. The C implementation was tested directly against the Python reference to confirm both versions produce matching results.

MIT

KEY POINTS

  • Portable C11, compiles with GCC/Clang;
  • Explicit finite differences, leapfrog integration;
  • Verified against the Python reference;
  • Lightweight, dependency-free module.

USE CASES

Game physics, water and shockwave effects, graphics simulations, predictable computational components alongside AI systems.

bottom of page