Numerics — Scientific Computing Library
C++ library for numerical analysis, simulation, and visualization
numerics is a C++ library consolidating numerical analysis coursework, algorithms, and performance optimizations built over several years. It covers sparse linear algebra, ODE/PDE solvers, SPH fluid dynamics, quantum circuit simulation, stochastic MCMC methods, and more.
The videos below are rendered directly from the library’s simulation apps using raylib + ffmpeg.
Fluid Dynamics
2D SPH fluid — dam-break with hot/cold spheres and heat transfer.
3D SPH fluid — dual temperature hoses, particle color = temperature.
Navier-Stokes — Kelvin-Helmholtz shear instability with particle tracers.
Electromagnetics — FEM potential solve, B-field arrows, orbiting dipole magnet.
Quantum
Time-dependent Schrödinger equation — double-slit diffraction, phase-colored wavefunction.
Quantum circuits — Bell, GHZ, Grover search, teleportation, and QFT₃ stepped gate-by-gate.
Statistical Mechanics
2D Ising nucleation — free-energy barrier crossing; red cluster = growing critical nucleus (F=0.1, T<Tc).
2D Ising ordering — spontaneous symmetry breaking from a random initial state below Tc.