Physics simulation
Rigid-body simulation for games and robotics: broadphase, narrowphase, contact solving.
Broadphase
Cheaply finding pairs that might touch.
Spatial hashing
lowUniform grid stored in a hash table: bucket objects by cell, test only neighbouring cells; O(n) neighbour search for many similar-sized objects such as particles.
Bounding volume hierarchy
lowBinary tree of nested bounding boxes; prunes overlap and ray queries to O(log n) for any size distribution, and supports cheap insert/remove for moving objects.
Sweep and prune
lowSort box endpoints along an axis and sweep: only intervals that overlap on that axis are tested; near-linear per frame thanks to temporal coherence.
Narrowphase
Exact contact between two shapes.
Separating axis theorem
lowConvex shapes are disjoint iff some axis separates their projections; testing face normals and edge crosses gives overlap, depth and contact normal.
GJK and EPA
lowGJK decides whether (and how far apart) two convex shapes are from their support functions alone; EPA expands its simplex into penetration depth and normal.
continuous collision detection
Planned.
contact manifold generation
Planned.
Contact solving
Turning contacts into forces.
Sequential impulse solver
mediumIterative contact solver applying impulses one constraint at a time with accumulated clamping and warm starting; the standard solver for stacking and friction in real-time physics engines.
complementarity contact solver
Planned.
joint constraints
Planned.
position based dynamics
Planned.
soft constraints substepping
Planned.
Rigid-body dynamics
Equations of motion for rigid and articulated bodies.
Rigid-body dynamics
lowAdvance one 3D rigid body per step from force and torque: semi-implicit Euler for position, an inertia tensor in the body frame, and quaternion orientation updated by the exponential map.
rigid body dynamics algorithms
Planned.
simulation islands sleeping
Planned.
N-body & molecular dynamics
Many-particle force computation and integration.
barnes hut tree
Planned.
fast multipole method
Planned.
particle mesh ewald
Planned.
neighbor lists
Planned.
periodic boundary conditions
Planned.
force field terms
Planned.
constraint solvers shake lincs
Planned.
thermostats barostats
Planned.
hierarchical timestepping
Planned.
Fluids
Grid, particle and hybrid fluid solvers.
smoothed particle hydrodynamics
Planned.
flip pic fluid
Planned.
pressure projection method
Planned.
semi lagrangian advection
Planned.
Computational chemistry
Representing molecules and scoring how they fit.
molecular graph representation
Planned.
molecular fingerprints similarity
Planned.
ligand conformer generation
Planned.
molecular docking scoring
Planned.