Skip to content

curio-sitas/wasm-mandelbrot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wasm-mandelbrot

A wasm experiment, drawing the mandelbrot set using Go.

We use the "syscall/js" package to communicate from wasm to js in the browser.

One can compile the wasm module (from cmd/wasm/main.go) by typing :

$GOARCH=wasm && $GOOS=js && go build -o main.wasm

Then move main.wasm in the root directory. An http server is necessary in order to avoid CORS (Cross-origin resource sharing) limitation from most web browsers.

Result

TODOs

  • Add interactivity (button/sliders)
  • Better color function

About

A wasm experiment by drawing the mandelbrot set

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published