Skip to content

virgesmith/julia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

node.js-free rust+wasm fractals

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published