Formerly known as Rust Mandelbrot Set Explorer
mandelbrot.site is a web app that lets you explore the Mandelbrot set fractal. Built with Rust (compiled to WASM) and TypeScript.
- Mandelbrot Set Implementation:
mandelbrot/src/lib.rs
- Rust Unit Tests:
mandelbrot/src/lib_test.rs
- TypeScript Entry Point:
client/app/main.ts
- Dynamic Zoom: Use your mouse to scroll or select a region, diving deeper into the fractal.
- Iteration Adjustment: Control the detail level with iteration count.
- Multibrot Sets: Explore "multibrot" sets by changing the exponent.
- High-Resolution Rendering: Enjoy crystal clear fractal images.
- Customizable Color Schemes: Personalize your fractal exploration.
- Viewport Coordinates: View and update the viewport's coordinates.
- Image Export: Save your discoveries as PNG images.
- Shareable Views: Generate URLs to share your current view with others.
View some of the stunning images generated with mandelbrot.site:
To set up and run the project on your local environment, navigate to the client/
directory and use the following commands:
- Install Dependencies:
npm install
- Start Development Server:
npm run start
- serves the project athttp://localhost:9090
- Build for Production:
npm run build
- Run Rust Tests:
npm run test
- Lint:
npm run lint
- identifies potential code issues - Cleanup:
npm run clean
- removes caches and build artifacts