Simulations
This section is dedicated to showcasing some simulations and experiments I’ve worked on.
-
Conway's Game of Life
Cellular automaton simulation compiled to WebAssembly, rendered on canvas.
-
Simulated Annealing for the TSP
Simulated annealing with Metropolis sampling and geometric cooling applied to the traveling salesman problem on random domains, running in WebAssembly.
-
2D Ising Model
Ferromagnetic Ising model on a 2D lattice, sampled by Metropolis Monte Carlo, compiled to WebAssembly.
-
Contact Process
Directed-percolation contact process on a 2D lattice, compiled to WebAssembly.
-
Spectral Signatures of Criticality
Random matrix analysis of time series from many independent copies of a system: the spectrum of their correlation matrix locates the phase transitions of the Ising model and the contact process. Compiled to WebAssembly.
-
Chiarella Model
Extended Chiarella model of a market with fundamentalists, trend followers and noise traders, integrated as a stochastic differential equation in WebAssembly.