Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flofriday/mandelbrot-playdate
A mandelbrot exploration for the playdate
https://github.com/flofriday/mandelbrot-playdate
Last synced: 1 day ago
JSON representation
A mandelbrot exploration for the playdate
- Host: GitHub
- URL: https://github.com/flofriday/mandelbrot-playdate
- Owner: flofriday
- License: mit
- Created: 2023-10-05T17:57:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-20T15:35:12.000Z (11 months ago)
- Last Synced: 2024-02-20T20:29:37.002Z (11 months ago)
- Language: C
- Size: 484 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mandelbrot Explorer
![Screenshot](screenshot.png)A zoomable mandelbrot renderer for the playdate.
## Build for the Playdate
```bash
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=/C_API/buildsupport/arm.cmake -DCMAKE_BUILD_TYPE=Release ..
make
```This will create a mandelbrot.pdx executable which on macOS you can execute in
the Simulator with `open mandelbrot.pdx`.In the Simulator go to: Device -> Upload to Device.
Note: The simulator will crash upon loading the game as it is build for a
differnt architecture. However you can still upload it to hte device.## Build for the Simulator
```bash
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
```This will create a mandelbrot.pdx executable which on macOS you can execute in
the Simulator with `open mandelbrot.pdx`.Note: Uploading this build to the playdate will not work because it was built
for the wrong architecture.