Scientific & Creative Coding Suite

A collection of high-concept interactive physics, mathematical transformations, and communication simulations built with p5.js.

24 Simulations Live Served Main Portfolio
General Relativity

Black Hole Lensing

Fire photon rays past a Schwarzschild singularity. Watch them bend, orbit, or get captured, rendering a lensed accretion disk and Einstein rings.

Launch Simulation
Quantum Physics

Quantum Eraser

Mark photons to collapse the double-slit interference pattern. Erase the "which-way" spin tags to restore the quantum fringes.

Launch Simulation
Fourier Optics

Fourier Diffraction

Draw custom aperture shapes on a laser board. Computes the real-time 2D Fast Fourier Transform (FFT) to display diffraction patterns.

Launch Simulation
Generative Biology

BZ Reaction Waves

Simulate excitable chemical reaction-diffusion waves. Slice wavefronts with scissors to create rotating self-sustaining spirals.

Launch Simulation
Cosmology & Noise

CMB Anisotropy

Tweak baryon, dark matter, and dark energy densities. Filter Fourier noise fields in real-time to generate primordial sky fluctuation maps.

Launch Simulation
Quantum Chaos

Quantum Billiards

Scatter wave packets inside Bunimovich stadiums or Sinai billiard boxes. Compare wave scarring side-by-side with classical chaotic paths.

Launch Simulation
Telephony & Physics

MIMO Beamforming

Adjust phase offsets ($\Delta\phi$) and spacing to steer radiation wavefronts. Drag reflectors to route the signal around obstacles to the target.

Launch Simulation
Orbital Mechanics

Grand Tour Slingshot

Use gravitational slingshots of Jupiter and Saturn to launch a probe from Earth to Neptune. Features live trajectory path predictions.

Launch Simulation
Complex Mathematics

Conformal Grid Warper

Map coordinates $z \to f(z)$ using holomorphic functions. Watch spacetime grids deform while preserving right-angle line intersections.

Launch Simulation
Quantum Physics

Quantum Tunneling

Simulate Schrödinger probability wave packet splits and transmission through potential wells to study semiconductor leakage.

Launch Simulation
Telephony Signal Coding

RF Signal Modulation

Encode binary bits into carrier sine waves using Amplitude/Phase shifts (QAM). Turn up noise to see symbol scatter clouds.

Launch Simulation
Non-Inertial Mechanics

Coriolis Space Habitat

Aim a launcher inside a rotating space habitat. View how straight trajectories bend into spirals from an astronaut's perspective.

Launch Simulation
Aerospace Cascades

Kessler Debris Cascade

Trigger ASAT strikes to fragment satellites, starting a runaway cascade collision chain reaction. Features live telemetry charts.

Launch Simulation
Chaos Mathematics

Strange Attractors

Solve the 3D Lorenz system. Spawn two tracers with a $10^{-5}$ position difference to watch them diverge exponentially.

Launch Simulation
Wave Dynamics

Sonic Booms & Doppler

Accelerate a moving sound emitter through Mach speeds. Observe pressure wave compression and Mach cone shock boundary overlaps.

Launch Simulation
Acoustic Physics

Chladni Resonance

Vibrate a square plate at modal frequencies. Observe sand particles random walk and cluster along static wave nodes.

Launch Simulation
Golden Ratio Math

Phyllotaxis Packing

Simulate sunflower spiral growths. Tweak the divergence angle slightly away from 137.508° to see parastichy symmetry dissolve.

Launch Simulation
Generative Biology

Turing Morphogenesis

Simulate biological morphogenesis using Gray-Scott PDE grids. Tweak Feed/Kill constants to grow leopard spots and zebra stripes.

Launch Simulation
Fluid Generative Art

Vector Flow Fields

Map coordinate forces to 2D Perlin noise. Watch thousands of particles travel along these lines, painting glowing fluid silk trails.

Launch Simulation
Spatial Partitioning

Cellular Mesh Grid

Partition 2D coordinate spaces using distance vectors. Overlay Delaunay wireframes, and trigger Lloyd relaxation honeycombs.

Launch Simulation
Algorithmic Botany

L-System Botany

Grow complex organic plant structures recursively using Lindenmayer string rewriting grammars and turtle vector graphics.

Launch Simulation
Signal Decomposition

Fourier Epicycles

Decompose complex closed loop paths using the Discrete Fourier Transform (DFT). Watch rotating circular vectors draw shapes.

Launch Simulation
Lagrangian Physics

Double Pendulum

Solve coupled non-linear differential motion equations. Watch how a 0.010° offset leads to absolute chaotic divergence.

Launch Simulation
Geometric Optics

Ray Casting Shadows

Project light ray vectors in 360 degrees. Solve linear coordinate intersections to render realistic dynamic shadows behind walls.

Launch Simulation