Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mindstudioofficial/fl_cuda_mandelbrot
Flutter example for visualizing the Mandelbrot Set using CUDA
https://github.com/mindstudioofficial/fl_cuda_mandelbrot
cuda flutter-examples fractal-rendering
Last synced: 28 days ago
JSON representation
Flutter example for visualizing the Mandelbrot Set using CUDA
- Host: GitHub
- URL: https://github.com/mindstudioofficial/fl_cuda_mandelbrot
- Owner: MindStudioOfficial
- Created: 2022-12-01T17:44:48.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-26T00:15:24.000Z (almost 2 years ago)
- Last Synced: 2024-11-12T17:42:09.309Z (3 months ago)
- Topics: cuda, flutter-examples, fractal-rendering
- Language: C++
- Homepage:
- Size: 2.08 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flutter CUDA Mandelbrot
A Flutter example application that computes the [Mandelbrot set](https://en.wikipedia.org/wiki/Mandelbrot_set) using CUDA on a NVIDIA GPU
![](blob/sc01.jpg)
![](blob/sc02.jpg)
- left-click and drag to zoom into a region
- right-click to go back to the previous sector
- middle-click to resetCurrently computes 2000 iterations in about 3s for a 3840x2160 frame on a RTX 3090
## Getting Started
```bat
> flutter pub get
``````bat
> flutter run
```CUDA code is already compiled to `render.dll` in the `bin\` directory but can be compiled by yourself if you have CUDA 11.6 installed and the `nvcc` command is available. You also need to have VisualStudio installed to run the CUDA `compile.bat`