Next.js 15 + Tailwind + Framer Motion + Three.js + MathJax + your Rust CMA-ES engines.
Runtime: Bun 1.3+ only (we do not use npm/yarn/pnpm).
git clone https://github.com/Dicklesworthstone/cmaes_explainer
cd cmaes_explainer
bun install
bun run devOpen http://localhost:3000.
This repo expects a copy of your wasm_cmaes visualization under public/wasm-demo/.
From the project root:
./scripts/pull_wasm_demo.shThat script:
- Clones
wasm_cmaesintovendor/wasm_cmaes(or pulls latest) - Runs its build script
- Copies
examples/viz-benchmarks.html,pkg/, andpkg-par/intopublic/wasm-demo/
The “Live CMA-ES demo” section at / embeds /wasm-demo/examples/viz-benchmarks.html via iframe.
On a Linux box with gh and vercel CLIs logged in:
./scripts/bootstrap_and_deploy.shThat will:
- Initialize git
- Create
Dicklesworthstone/cmaes_explainerviagh - Push
main - Link the project to Vercel
- Run a production deployment