← too.foo

quantum.too.foo

A demonstration platform for quantum-physics phenomena, fed by an offline GPU pipeline. Heavy compute happens on sbl1; the resulting wave-function fields ship as static data files so the viewer renders fast and lives entirely on Cloudflare Pages.

Hydrogenic orbitals

orbitals/H

For each Z (1 → 20), every (n, l, m) eigenstate up to n = 4. Choose an atom, choose quantum numbers, look at the shape. Closed-form for hydrogen-like Z; numerical for screened multi-electron later.

building — pipeline + viewer not wired yet

1D Schrödinger sandbox

td/1d

Drag a potential well (square, harmonic, Coulomb-cut, custom), watch eigenstates settle in real time. Matrix-diagonalization for the static case; split-step Fourier when we ramp to TD.

planned

2D time-dependent

td/2d

Wave-packet bouncing / tunneling / diffracting through user-drawn potential landscapes. Split-step Fourier on a WebGPU compute pass; data prebaked when the geometry is fixed.

planned

How it works

  1. Sim (apps/quantum/sim/) — Python + PyTorch/NumPy + CUDA on sbl1's GPU. Computes wave functions on a 3-D grid for each (atom, quantum numbers) or each time-evolution scene, emits binary blobs + a small metadata JSON to apps/quantum/data/.
  2. Data — committed to the repo as gzipped float16 volumes (or isosurface meshes when the full volume is overkill). Tiny enough to ship via CF Pages.
  3. Viewer (this app) — Astro static page + three.js WebGL/WebGPU. Loads the requested dataset, renders isosurfaces or volume slices, lets the user spin / scrub.

See apps/quantum on GitHub and the MONOREPO_NOTES.md there for the current contract between the three pieces.