Skip to content

A Mandelbrot set representation using WebAssembly with Rust and rendered with WebGL 2.

Notifications You must be signed in to change notification settings

JimJ92120/mandelbrot

Repository files navigation

mandelbrot

A Mandelbrot set representation using WebAssembly with Rust and rendered with WebGL 2.

See demo in Github Pages.



Requirements

npm ^6.0
Node.js ^14.0
TypeScript ^4.0
Rust ^1.63.0
Cargo ^1.63.0
wasm-pack ^0.10.3

Project's structure

/(root)
  /src # app entrypoint (Typescript / JavaScript)
  /lib # lib entrypoint (Rust)
  /static # static assets (e.g index.html)

How to install

npm install

How to run in debug mode

# Builds the project and opens it in a new browser tab. Auto-reloads when the project changes.
npm start

How to build in release mode

# Builds the project and places it into the `dist` folder.
npm run build

How to run unit tests

# Runs tests in Firefox
npm test -- --firefox

# Runs tests in Chrome
npm test -- --chrome

# Runs tests in Safari
npm test -- --safari

About

A Mandelbrot set representation using WebAssembly with Rust and rendered with WebGL 2.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published