⚗️

Chemistry & Materials

Diffusion reactions, Turing patterns and self-organisation in chemical systems. From Gray-Scott to morphogenesis — complexity from simplified equations.

The Chemistry & Materials category covers how matter behaves from the atomic scale up to bulk solids: molecular dynamics, acid-base equilibria, reaction kinetics, crystal growth, electrochemistry, phase transitions and the diffusion patterns that shape both living tissue and engineered alloys. By adjusting temperature, concentration, diffusion rates and lattice parameters in real time, you build genuine chemical intuition for why reactions speed up, why buffers resist pH change, why metals fatigue and crack, and how spots and stripes self-organise without any central plan. Every model runs instantly in your browser on WebGL or Canvas, with no installation, so you can experiment safely and as often as you like — ideal for A-Level, IB, undergraduate study or simply satisfying curiosity about the chemistry and materials science behind the everyday world.

8+ simulations WebGL · GLSL Reaction-Diffusion · Ping-Pong

Category Simulations

Chemical and material systems in real time

Self-organisation — systems without central control form complex structures through local interactions. Tiger spots, zebra stripes, coral mazes — all described by the shared mathematical framework of Turing reaction-diffusion.

🧪
★★★ Advanced New
pH & Buffer Solutions
Acid-base equilibria and buffering: Henderson-Hasselbalch pH=pKa+log([A⁻]/[HA]), titration curves with a buffer region and equivalence point, and buffer capacity.
pH Buffer Titration Canvas 2D
🩹
★★★ Advanced
Microcracks — Fatigue Crack Growth
Cyclic stress slowly grows cracks per cycle by da/dN = C·(ΔK)^m. Watch the crack creep along its meandering path — then snap catastrophically when K_max reaches the fracture toughness K_IC.
Canvas 2D Fatigue Paris Law Fracture
💧
★★★ Advanced
Surface Wetting — Contact Angle
Why does a droplet spread or bead up? Young's equation sets the contact angle from surface energies, and roughness (Wenzel & Cassie–Baxter) drives the superhydrophobic lotus effect.
Canvas 2D Contact Angle Young Lotus Effect
🧪
★★★ Advanced
Colloids — Brownian Motion & Aggregation
Colloidal particles diffuse by Brownian motion with D = kT/(6πηr). Tune salt to lower the DLVO repulsion barrier and watch a stable sol flocculate into fractal aggregates, then sediment.
Canvas 2D Brownian Motion DLVO Aggregation
🔩
★★★ Advanced
Grain Growth — Crystallization
Watch a polycrystalline microstructure form: nucleate oriented grains, grow them into a Voronoi structure, then anneal so boundaries migrate and grains coarsen — with a Hall–Petch strength readout.
Canvas 2D Grain Growth Voronoi Hall-Petch
🧫
Ready ★★☆ Moderate
Reaction-Diffusion
Gray-Scott model: two substances A and B interact and diffuse on a grid. Tune f and k to grow spots, stripes, worms, spirals and coral patterns.
Canvas 2D Gray-Scott PDE Self-Organisation
🫧
★☆☆ Beginner
Soap Bubbles
Surface tension dynamics: bubbles minimise area to form spheres. Watch clusters merge and split under pressure equilibrium laws.
Canvas 2D Surface Tension Pressure
💧
★★★ Advanced
SPH Fluid
Smoothed Particle Hydrodynamics: thousands of particles simulate incompressible liquid with Navier-Stokes pressure and viscosity.
WebGL SPH Navier-Stokes
💥
★★☆ Moderate
Fracture Mechanics
Click to crack brittle materials. Stress propagation through a lattice using bond-breaking thresholds — from hairline cracks to shattering.
Canvas 2D Fracture Lattice
🏖️
★☆☆ Beginner
Sand & Granular Matter
Cellular automaton of falling particles: sand, water, fire, stone. Granular flow, angle of repose, and avalanche dynamics.
Canvas 2D Cellular Automata Granular
🔥
★★☆ Moderate New
Fire & Smoke
Cellular automaton with fire, smoke, ember, ash, wood, water and wall cells. Paint materials with the brush, set wind direction and watch combustion, smoke rise and embers scatter.
Cellular Automata Fire Canvas 2D
⚗️
★★★ Advanced New
Molecular Dynamics
2D Lennard-Jones MD with Velocity-Verlet integrator and Berendsen thermostat. Watch gas, liquid and solid phases emerge as you vary temperature and particle count. Live kinetic energy chart.
Lennard-Jones Thermostat Phase Transition
💎
★★ Intermediate New
Crystal Growth
3D Diffusion-Limited Aggregation: random-walk particles stick to a growing fractal crystal. Cubic, hexagonal and FCC lattices. Color by layer depth.
DLA Fractal InstancedMesh
🧪
★★☆ Moderate New
pH Titration
Interactive acid-base titration curves. Choose strong or weak acid/base systems, adjust concentrations, add drops of titrant, and watch the beaker change colour at the equivalence point.
pH Titration Henderson-Hasselbalch Buffer Region
🔵
★★☆ Moderate
Reaction–Diffusion
GPU-accelerated Gray–Scott reaction-diffusion system. Tunable feed and kill rates produce spots, stripes, labyrinthine mazes and self-replicating spots.
WebGL Gray–Scott GLSL
🧲
★★★ Advanced
Ising Model
Metropolis-Hastings Monte Carlo simulation of the 2D Ising model. Watch phase transitions from ferromagnetic to paramagnetic order as temperature crosses the Curie point.
Canvas 2D Monte Carlo Thermodynamics
⚗️
Ready ★★☆ Moderate
Reaction Kinetics
Consecutive reactions A→B→C governed by the Arrhenius equation. Tune temperature and activation energies, toggle a catalyst and reversibility to see how rate constants shape the yield curves.
Arrhenius ODE Catalyst Activation Energy
🌀
New ★★☆ Moderate
Belousov–Zhabotinsky Reaction
3-state excitable-medium cellular automaton (Greenberg–Hastings model). Spiral and target waves self-organise from random perturbations — click to plant a spiral seed.
Excitable Medium Cellular Automata Spiral Waves
🔬
New ★★☆ Moderate
Turing Diffusion
Gray-Scott reaction-diffusion model spontaneously forms spots, stripes, mazes and coral patterns. Tune feed rate F and kill rate k to navigate Turing's 1952 morphogenesis landscape. Click to plant seeds.
Gray-Scott Reaction-Diffusion Morphogenesis
⚗️
★★☆ Moderate
Chemical Equilibrium — Le Chatelier & Reaction Quotient
Perturb a gaseous equilibrium by changing concentration, pressure or temperature. Watch Q vs K drive the reaction direction until equilibrium is restored. ICE table shown live.
Le Chatelier Reaction Quotient ICE Table Kc
🔥
★★★ Advanced
Reaction Front
Traveling chemical wave using Fisher-KPP equation. Autocatalytic reactions propagate at v = 2√(Dr).
Fisher-KPP Autocatalysis Canvas 2D
🎨
New ★★★ Advanced
3D Reaction-Diffusion Patterns
Gray-Scott reaction-diffusion model in a 3D voxel grid rendered with Three.js. Two morphogens u and v generate spots, stripes and labyrinthine structures in three dimensions.
Gray-Scott Three.js Voxel 3D
🦷
New ★★★ Advanced
Electrochemical Corrosion (Tafel)
Metal corrosion via Evans diagram: anodic dissolution and cathodic reduction meet at corrosion potential E_corr. Tafel slopes control kinetics; tune metal, electrolyte and temperature.
Evans Diagram Tafel Electrochemistry Canvas 2D
⚗️
New ★★★ Advanced
Colloidal Stability — DLVO Theory
DLVO (Derjaguin-Landau-Verwey-Overbeek) theory: total interaction energy V_T = V_EDL + V_vdW. Electrostatic repulsion vs. van der Waals attraction — tune ionic strength to flip stability.
DLVO Colloids van der Waals Canvas 2D
🌡️
New ★★☆ Moderate
Sol-Gel Phase Transition
A polymer sol transitions to a gel as cross-link density p exceeds the percolation threshold p_c. Near p_c, cluster size diverges and gel fraction rises — watch the network form in real time.
Percolation Sol-Gel Polymer Canvas 2D

Key Concepts

The science behind the simulations

Reaction-Diffusion
PDE system where chemicals react locally and spread by diffusion. Turing (1952) showed this breaks symmetry to spontaneously generate stable spatial patterns like spots and stripes.
Surface Tension
Cohesive intermolecular forces pull liquid surfaces inward. Soap films obey Plateau's laws — meeting at 120° angles, minimising total area, causing pressure difference ΔP = 4γ/r in bubbles.
SPH & Viscosity
Smoothed Particle Hydrodynamics solves Navier-Stokes by interpolating field quantities over neighbouring particles via kernel functions. Viscosity dissipates kinetic energy into heat.
Fracture & Stress
Crack propagation follows Griffith's criterion: a crack grows when reducing surface energy exceeds elastic strain energy released. Stress concentration at crack tips drives brittle fracture.

Learning Resources

Articles and tutorials about the algorithms in this category

About Chemistry Simulations

Atoms, reactions, diffusion, and molecular dynamics — in the browser

Chemistry simulations model matter at the atomic and molecular level. Lennard-Jones molecular dynamics place particles in a periodic box and integrate Newton's equations under pair potentials, revealing gas, liquid, and solid states as you vary temperature. Reaction-diffusion systems simulate the Gray–Scott equations that underpin Turing pattern formation and the oscillating Belousov–Zhabotinsky reaction.

These simulations bridge physical chemistry and computational modelling. Adjusting temperature, density, or diffusion coefficients lets you observe phase transitions, concentration gradients, and self-organising chemical waves. The same Lennard-Jones potential is used in protein folding research; the same reaction-diffusion framework models morphogen gradients in developmental biology. Exploring them interactively is the fastest way to build chemical intuition.

Chemistry simulations bridge the gap between the microscopic and macroscopic worlds. Molecular dynamics is used professionally to study protein folding, drug-receptor binding, and material fatigue at the atomic level. Reaction-diffusion models explain the formation of animal coat patterns, coral reef branching, and chemical oscillators like the Belousov-Zhabotinsky reaction. These interactive models make quantum-level phenomena accessible without a chemistry laboratory.

Key Concepts

Topics and algorithms you'll explore in this category

Molecular DynamicsLennard-Jones potentials and verlet integration
Crystal GrowthNucleation and lattice formation kinetics
Reaction-DiffusionGray-Scott model for autocatalytic reactions
Lennard-Jones PotentialV(r) = ε[(σ/r)¹²-(σ/r)⁶]
Phase TransitionsMelting, crystallisation and order parameters
Brownian MotionStochastic thermal motion of particles

🧪 Test Your Chemistry Knowledge

5 questions — elements, reactions, bonds and more

Frequently Asked Questions

Common questions about this simulation category

How does the molecular dynamics simulation work?
Each atom exerts a Lennard-Jones force on its neighbours: repulsive at short range, attractive at intermediate range, zero at long range. Verlet integration advances positions and velocities each timestep. Temperature is controlled by rescaling velocities to maintain the desired kinetic energy.
What is crystal growth simulation?
The crystal growth simulation models nucleation and growth on a 2D lattice. Atoms attach to the growing solid phase according to a temperature-dependent probability derived from the Boltzmann factor. Faster cooling produces polycrystalline structures; slow cooling grows large single crystals.
How does the Reaction-Diffusion simulation create patterns?
The Gray-Scott model tracks two chemical species U and V. U feeds autocatalytic conversion to V (V + 2U → 3V) while V decays. Diffusion at different rates causes spatial instability, producing spots, stripes, and worm-like patterns depending on the feed and kill rate parameters.

Other Categories

Each Chemistry & Materials simulation turns abstract equations into a living, tweakable picture: an interactive Chemistry & Materials model lets you change temperature, concentration or lattice settings and watch phase transitions, titration curves and Turing patterns respond at once. Whether you revise for exams or research material behaviour, you can learn Chemistry & Materials online for free, with no installation. The same molecular-dynamics and reaction-diffusion methods power real-world work such as drug design, battery development and predicting metal fatigue in aircraft and bridges.