Files
agila_open_tool/tools/v/examples/wasm/mandelbrot
..
2026-07-13 15:20:32 +00:00
2026-07-13 15:20:32 +00:00
2026-07-13 15:20:32 +00:00
2026-07-13 15:20:32 +00:00
2026-07-13 15:20:32 +00:00

Run V Mandelbrot Example

Using only V

v run .

Using Python or Emscripten

  1. First, create mandelbrot.wasm. Compile with -os browser.
v -b wasm -os browser mandelbrot.wasm.v
  1. Then, open the mandelbrot.html file in the browser.
    • CORS errors do not allow mandelbrot.wasm to be loaded.
    • Use python -m http.server 8080
    • Use emrun mandelbrot.html