ESP32-S3 Bench Guide
ESP32-S3 N16R8 bench guide: live pinout, lessons, simulators and the bench log.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證fusionsimulator.io – a real-time fusion control room simulator
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
A real-time tokamak plasma simulator that runs entirely in your browser.
fusionsimulator.io combines a Rust physics engine (compiled to WebAssembly) with a
React/TypeScript frontend to provide an interactive control room experience
for exploring tokamak plasma behavior.檢視完整 README ↗A real-time tokamak plasma simulator that runs entirely in your browser. fusionsimulator.io combines a Rust physics engine (compiled to WebAssembly) with a React/TypeScript frontend to provide an interactive control room experience for exploring tokamak plasma behavior.
The simulator implements peer-reviewed physics models from the fusion literature:
| Model | Reference |
|---|---|
| MHD equilibrium | Cerfon-Freidberg analytic Grad-Shafranov (PoP 2010) |
| Energy confinement | IPB98(y,2) scaling (ITER Physics Basis, NF 1999) |
| L-H transition | Martin power threshold scaling (JPCS 2008) |
| Beta limit | Troyon normalized beta limit (PPCF 1984) |
| Density limit | Greenwald limit (PPCF 2002) |
| Fusion reactivity | Bosch-Hale parameterization (NF 1992) |
| Divertor heat flux | Eich SOL width scaling (NF 2013) |
| Radial profiles | OMFIT tanh-pedestal parameterization |
For complete citations and equations, see the in-app Bibliography page.
Disclaimer: fusionsimulator.io uses 0D scaling laws and analytic approximations. It is an educational and visualization tool, not a predictive transport code.
# Clone the repository
git clone <repo-url>
cd fusion-sim
# Full build (WASM engine + frontend)
./build.sh
# Serve the built app
cd web && npx vite preview
# Build WASM module
wasm-pack build crates/tok-sym-core \
--target web \
--out-dir ../../web/src/wasm \
--no-default-features \
--features wasm
# Start frontend dev server (with hot reload)
cd web
npm install
npm run dev
The dev server runs at http://localhost:5173 by default.
# Rust physics engine tests (full-pulse tests are slow in debug; use --release)
cargo test --release -p tok-sym-core
# Envelope sweep: every planner control at five levels on every device and
# preset, run through the engine and checked for plausibility (~5 min on 6
# cores). Regenerate the program matrix whenever a preset, a slider range or
# the program builder changes; the matrix check fails when it is stale.
cargo test --release -p tok-sym-core --test envelope -- --nocapture
cd web && npm run matrix:emit && npm run matrix:check
# TypeScript type checking
cd web && npx tsc -b
# Lint
cd web && npm run lint
cargo doc -p tok-sym-core --no-deps --open
This opens the auto-generated API documentation for the physics engine in your browser. All public types and functions are documented with rustdoc comments.
fusion-sim/
├── crates/tok-sym-core/ Rust physics engine (~5,500 lines)
│ └── src/
│ ├── equilibrium.rs Cerfon-Freidberg Grad-Shafranov solver
│ ├── transport.rs 0D power balance (IPB98, L-H, ELMs)
│ ├── profiles.rs Tanh-pedestal radial profiles
│ ├── devices.rs DIII-D, JET, ITER, CENTAUR definitions
│ ├── disruption.rs Disruption risk & dynamics
│ ├── diagnostics.rs Synthetic diagnostic signals
│ ├── contour.rs Marching squares contour extraction
│ ├── simulation.rs Top-level orchestrator
│ └── wasm_api.rs WASM-bindgen API surface
│
├── web/ React frontend (~11,600 lines)
│ └── src/
│ ├── lib/ Shared libraries (WASM init, hooks, physics)
│ ├── components/ UI components (canvas, panels, 3D view)
│ ├── pages/ Route pages (DeviceSelect, ControlRoom, etc.)
│ └── wasm/ Generated WASM output
│
├── build.sh Full build script
└── ARCHITECTURE.md Comprehensive architecture guide
For detailed documentation of every module, function, and component, see ARCHITECTURE.md.
┌─────────────────────────────────────────────────┐
│ Browser │
│ │
│ ┌──────────────┐ ┌────────────────────────┐ │
│ │ Rust/WASM │───▶│ React/TypeScript │ │
│ │ Physics │JSON│ │ │
│ │ Engine │◀───│ useSimulation hook │ │
│ │ │ │ │ │ │
│ │ • Equilibrium│ │ ├─ EquilibriumCanvas │ │
│ │ • Transport │ │ ├─ StatusPanel │ │
│ │ • Profiles │ │ ├─ UnifiedTracePanel │ │
│ │ • Disruption │ │ ├─ PortView (3D) │ │
│ │ • Contours │ │ └─ PulsePlanner │ │
│ └──────────────┘ └────────────────────────┘ │
└─────────────────────────────────────────────────┘
All physics runs in the WASM module. The TypeScript layer handles rendering, user interaction, and some display-only derived computations (fusion Q, divertor heat flux via Bosch-Hale and Eich scaling).
GNU General Public License v3.0 (GPL-3.0-only). See LICENSE for details.
Developed by Daniel Burgess and the Columbia Fusion Research Center.
Copyright 2026 Daniel Burgess. Released under the GPL-3.0 license.