Nexa Visualize is an interactive, educational tool for visualizing the architecture and training process of a neural network in real-time 3D. Built with React and Three.js, it provides an intuitive way to understand concepts like forward propagation, backpropagation, and hyperparameter tuning.
This repository is configured for static hosting on GitHub Pages.
- CI workflow:
.github/workflows/ci.yml - Deployment workflow:
.github/workflows/deploy-pages.yml - Live URL format:
https://<github-username>.github.io/Nexa_Visualize/
Replace
OWNERin the badge links above with your GitHub username or organization.
This app is static and does not require runtime secrets for normal operation.
Create a .env file at the project root only if you need custom React environment variables:
# .env.example
REACT_APP_API_BASE_URL=https://api.example.com
REACT_APP_ENABLE_EXPERIMENTAL_MODE=falseRules for frontend environment variables:
- Only variables prefixed with
REACT_APP_are exposed to the browser. - Do not put private credentials in frontend environment variables.
- Build-time variables are injected during
npm run build.
For GitHub Pages deployment in this repo, no additional custom secrets are required.
Required repository settings:
- Go to Settings → Pages.
- Under Build and deployment, select Source: GitHub Actions.
- Ensure the default branch is
main(ormaster, both are supported in workflows).
GitHub-provided token usage:
GITHUB_TOKEN(automatically provided by GitHub Actions) is used byactions/deploy-pages.
Runs on push and pull requests:
npm cinpm run lintCI=true npm test -- --watch=falsenpm run build
Runs on pushes to main/master and manual dispatch:
npm ci- Build with
PUBLIC_URL=/${{ github.event.repository.name }} - Upload build output from
build/ - Deploy to GitHub Pages with
actions/deploy-pages
- Interactive 3D Visualization of neural network architectures.
- Multiple Model Architectures including FNNs, CNN variants, Transformers, MoE, and Autoencoders/VAEs.
- Dynamic Architecture Editing for layers and neuron counts.
- Real-time Training Animation for forward pass, backward pass, and weight updates.
- Hyperparameter Controls for epochs, learning rate, optimizer, and loss.
- Live Monitoring Graph for loss and accuracy.
- Camera Controls for auto-rotate and manual navigation.
Install and run locally:
npm ci
npm startBuild for production:
npm run buildRun tests:
CI=true npm test -- --watch=falseRun lint:
npm run lint- React
- Three.js
- JavaScript (ES6+)
- CSS3