schteve / mandelbrot_wasm

A Mandelbrot set viewer using WASM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mandelbrot WASM

This repository contains a basic implementation of a Mandelbrot Set viewer which runs on WASM. It uses NPM to serve the web page containing the WASM.

The goal here was to get basic familiarity with WASM as a Rust target.

Building and running

This readme was written well after the code was last changed. I am going based on memory for this section - some parts may be incorrect!

Follow the instructions here to install the necessary tools. In particular, wasm-pack and npm. https://rustwasm.github.io/docs/book/game-of-life/setup.html

To build the project: wasm-pack build

Get NPM installed: npm install

Then run the web server with NPM: npm run start

Now you can access the web page at http://localhost:8080/

About

A Mandelbrot set viewer using WASM

License:Apache License 2.0


Languages

Language:Rust 50.0%Language:JavaScript 43.0%Language:HTML 7.0%