HomeData ScienceSymbolic Regression: Evolving Physical Laws from Data

Symbolic Regression: Evolving Physical Laws from Data

Watch genetic programming evolve a population of candidate mathematical expressions against noisy physical data — free-fall time, pendulum period, or Kepler's third law — as generation after generation recedes into a 3D tunnel of converging fits.

Data Science3DAdvanced60 FPS
ds-topic-82 ↗ Open standalone

This simulator runs real genetic-programming symbolic regression against synthetic physical measurements — free-fall time versus drop height, pendulum period versus string length, or Kepler's third law relating orbital period to radius. A population of randomly built expression trees is scored by RMSE against noisy data, then evolved generation after generation through tournament selection, subtree crossover, and mutation. Every generation's best-fit curve is rendered at the front of a 3D tunnel while older generations recede and dim behind it, turning dozens of generations of evolutionary search into a single readable corridor that visibly narrows onto the true law as the run progresses.

⚙ Under the hood

Genetic programming evolves a population of expression trees against noisy free-fall, pendulum, or Kepler-orbit data, rendering each generation's best-fit curve as a 3D tunnel of converging fits that recedes and dims as the search improves.

symbolic regressiongenetic programmingdata sciencemachine learningphysics discoveryevolutionary algorithm

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)