https://github.com/durocodes/frak
a fractal renderer made with rust to webassembly
https://github.com/durocodes/frak
fractal webassembly
Last synced: about 2 months ago
JSON representation
a fractal renderer made with rust to webassembly
- Host: GitHub
- URL: https://github.com/durocodes/frak
- Owner: DuroCodes
- Created: 2024-12-01T04:36:54.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-02T13:28:53.000Z (6 months ago)
- Last Synced: 2025-03-24T09:47:39.729Z (2 months ago)
- Topics: fractal, webassembly
- Language: HTML
- Homepage: http://durocodes.github.io/frak/
- Size: 7.2 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frak
![]()
Frak is a Rust to WebAssembly fractal renderer. You can render a few different fractals, such as the Mandelbrot set, Julia set, and Burning Ship fractal. You can zoom and pan around the fractal as well.
You can view the live demo [here](https://durocodes.github.io/frak/).
> [!WARNING]
> The demo doesn't work very well on mobile, it's best to view it on a desktop.## Screenshots
| Mandelbrot | Julia | Burning Ship |
| -------------------------------------- | ---------------------------- | ------------------------------------------ |
|  |  |  |## Installation
You can build Frak to WebAssembly using the `./build.sh` script. You'll need to have [wabt](https://github.com/WebAssembly/wabt) installed for `wasm-strip` and `wasm-opt`.
```bash
git clone https://github.com/durocodes/frak
cd frak
./build.sh
```Then, you can serve the `./www` directory using a static file server, such as `http-server`:
```bash
npm install -g http-server
http-server ./www
```Then you can view the demo at `http://localhost:8080`.