Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.03 KB

README.md

File metadata and controls

50 lines (31 loc) · 1.03 KB

julia

julia mandel

Animated Julia sets and a zoomable Mandelbrot set, implemented in rust and webassembly.

This version is a barebones reworking of a previous implementation that was beset by node.js vulnerabilities.

Based on the tutorial here. Doesn't require node.js or webpack.

prepare

First, install

build

wasm-pack build --target web --no-typescript

run locally

Use a proper web server for prod. For local dev:

python3 -m http.server

test (on firefox)

firefox --private-window localhost:8000

F12 opens debug console

package/deploy

Uses the nginx docker image:

docker build -t julia .
docker run -it -d -p 80:80 julia:latest

TODO