GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - OpenLyceum/QuantumAtom3D: Explore hydrogenic orbitals in 3D, time-evolving superpositions, the angular-momentum vector model, Zeeman splitting and 3D oscillator degeneracy.

BranchesTags
Open more actions menu

Latest commit

 

History

91 Commits
91 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude
.claude
 
 
.githooks
.githooks
 
 
.github
.github
 
 
assets
assets
 
 
biome-plugins
biome-plugins
 
 
doc
doc
 
 
public
public
 
 
scripts
scripts
 
 
src
src
 
 
tests
tests
 
 
.dependency-cruiser.cjs
.dependency-cruiser.cjs
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CREDITS.md
CREDITS.md
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
biome.json
biome.json
 
 
index.html
index.html
 
 
knip.json
knip.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
playwright.config.ts
playwright.config.ts
 
 
sim.config.json
sim.config.json
 
 
tsconfig.json
tsconfig.json
 
 
tsconfig.scripts.json
tsconfig.scripts.json
 
 
tsconfig.test.json
tsconfig.test.json
 
 
vite.config.ts
vite.config.ts
 
 
vitest.config.ts
vitest.config.ts
 
 
vitest.soak.config.ts
vitest.soak.config.ts
 
 

Repository files navigation

Quantum Atom 3D

CI

An interactive 3D hydrogenic atom for upper-year quantum mechanics, built with SceneryStack. It shows orbitals and probability density with complex-phase colouring, radial distributions, superpositions that evolve in time, the angular-momentum vector model, Zeeman splitting with selection rules, and the degeneracy of the isotropic 3D oscillator.

Status: Orbitals, Superposition, Angular Momentum, Zeeman and 3D Oscillator screens are implemented. The M8 display and accessibility polish is implemented; see doc/implementation-notes.md.

Features

  • Orbitals: ψ_nlm for n ≤ 5, in the complex or real basis, with Z = 1–6 (H, He⁺, Li²⁺, …). Volume rendering with phase or density colours, pointer/keyboard orbit and zoom, camera sliders, probability dots, 90%/95% isosurfaces, analytic 3D nodes, a draggable cutting plane and linked P(r) probing. Includes an angular-density section with selectable azimuth, stationary-state presets, and expectation-value readouts in Bohr radii or picometres.
  • Superposition: mix up to six eigenstates, evolve their relative phases, track mean radius and mean z, and explore dipole, breathing, rotation and sp/sp²/sp³ presets.
  • Angular Momentum: orbital precession cones, projections and uncertainties; L + S → J coupling, half-integer projections and a spin-traced angular-density plot.
  • Zeeman: normal/anomalous splitting, Dirac fine structure, weak-field limits, selection rules, polarization filtering, spectral positions and schematic Larmor precession.
  • 3D Oscillator: shells N=0–4, Cartesian/spherical states and their overlap matrix, degeneracy comparison with hydrogen, and 3D volume/isosurface rendering.
  • WebGPU rendering with a progressive CPU fallback, including recovery after device loss. Use ?forceCpu=true to select the CPU renderer explicitly; ?seed=173 reproduces the dot samples.
  • Preferences for phase colours, rendering quality, length units and the angular-tab formula. Share an initial orbital with, for example, ?screens=1&n=3&l=2&m=0&Z=2&basis=real&lengthUnit=pm. Invalid dependent quantum numbers are clamped; Reset All returns to the URL's initial state.
  • Portrait layout with scrolling, focus reveal, screen navigation and compact display settings.
  • English, Spanish and French. Default and projector colour profiles. Installable as a PWA.

Quick Start

npm install
npm run icons    # generate PNG icons from public/icons/icon.svg
npm start        # dev server → http://localhost:5173

Scripts

Command Description
npm start / npm run dev Start Vite dev server
npm run build Type-check + production build → dist/
npm run preview Preview the production build locally
npm test Run Vitest unit tests (includes memory-leak suite)
npm run test:fuzz Optional Playwright fuzz smoke: pointer (?fuzz) + keyboard (?fuzzBoard), with ?ea, 30s each
npm run test:fuzz -- 90 Same fuzz for 90 seconds (--duration 90 or FUZZ_DURATION=90 also work)
npm run test:fuzz:quick Shorter fuzz smoke (10s)
npm run test:fuzz:long Longer fuzz smoke (300s)
npm run check TypeScript type check
npm run lint Biome lint check
npm run check:unused / npm run knip Report unused files, exports, and dependencies (manual check)
npm run check:architecture dependency-cruiser layer and cycle rules on src/ (manual check)
npm run format Auto-format all files
npm run fix Lint + auto-fix
npm run icons Regenerate PNG icons from public/icons/icon.svg
npm run release check && lint && build && test, then version patch + push tags
npm run clean Remove dist/

New sims start at version: "0.0.0" in package.json. Bump only when cutting a release (for example npm version patch and a matching git tag). Keep name in kebab-case; it is separate from the SceneryStack sim identifier in src/init.ts, which reads its version from package.json.

Tech Stack

Tool Version Purpose
SceneryStack ^3.0.0 Simulation framework
Vite ^8 Build tool + dev server
TypeScript ^7 Type-safe JavaScript
Biome ^2.5 Linting + formatting
vite-plugin-pwa ^2 PWA + service worker

License

GNU Affero General Public License v3.0 — see OpenLyceum org license.

Contributing

See OpenLyceum contributing guidelines. Report bugs via GitHub Issues; use org issue templates.

About

Explore hydrogenic orbitals in 3D, time-evolving superpositions, the angular-momentum vector model, Zeeman splitting and 3D oscillator degeneracy.

openlyceum.github.io/QuantumAtom3D

Topics

angular-momentumatomic-orbitalsharmonic-oscillatorhydrogen-atomphysicspwaquantumquantum-mechanicsscenerystacksimulationspherical-harmonicswebgpuzeeman-effect

Resources

Readme

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

Generated from OpenLyceum/SceneryStackTemplate
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.