tahamajs's picture
|
download
raw
846 Bytes
# Tutorial 01: Setup & Local Development
## 1. Prerequisites
The visualizer is built on pure standard web technologies with no compilation steps or node_modules dependencies needed to run in the browser.
* Any modern web browser with WebGL enabled (Chrome, Firefox, Safari, Edge)
* Python 3.8+ (for local HTTP serving)
---
## 2. Launching Locally
From the root of the project, run:
```bash
python3 Docs/visualizer/serve.py
```
This starts an HTTP server at `http://localhost:8080` with proper CORS headers and automatically opens your browser to `http://localhost:8080/Docs/visualizer/index.html`.
---
## 3. Running Unit Tests
Run the Node.js built-in automated test runner:
```bash
node --test Docs/visualizer/tests/*.test.js
```
All 19 tests validating constants, model specs, token physics trajectories, and JSON schemas will execute.

Xet Storage Details

Size:
846 Bytes
·
Xet hash:
0ca99c960ef56efe83aaee4095ef44e5c0131547b5c0b880e9665f86924b7e1e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.