Gunnar Beutner
|
92879383fb
|
Mandelbrot: Export images in a fixed resolution
This makes the exported image independent from the current window size
and just always exports it at 1920x1080.
|
2021-05-18 16:01:32 +02:00 |
|
Gunnar Beutner
|
f2f728d39a
|
Mandelbrot: Keep the aspect ratio when (re-)sizing the window
Previously the initial aspect ratio was incorrect and there was
nothing to ensure that the aspect ratio is kept when resizing the
window.
|
2021-05-18 16:01:32 +02:00 |
|
Gunnar Beutner
|
77bd3f75ce
|
Mandelbrot: Add support for exporting the current image
Unfortunately this means unveil() won't work - at least until we get
something like FilePickerServer.
|
2021-05-18 16:01:32 +02:00 |
|
Gunnar Beutner
|
b429ee88f8
|
Mandelbrot: Implement color smoothing with gradients
This removes the color banding that happens for some of the
"outer" areas which all have the same iteration count.
|
2021-05-18 16:01:32 +02:00 |
|
Gunnar Beutner
|
c961616e6d
|
Mandelbrot: Maintain aspect ratio when selecting a region
This makes sure the aspect ratio of the widget and the selection
match. Otherwise you'd end up with distorted images when zooming
in.
|
2021-05-18 16:01:32 +02:00 |
|
Gunnar Beutner
|
51db8085f8
|
Demos: Add Mandelbrot demo
This adds a very rudimentary Mandelbrot viewer. It supports zooming
and pretty much nothing else. Not even color smoothing or super
sampling.
|
2021-05-17 13:35:39 +02:00 |
|