History log of /haiku/src/apps/mandelbrot/Mandelbrot.cpp
Revision Date Author Comments
# a7cda277 09-Jan-2019 kerwizzy <kerwizzy@gmail.com>

Mandelbrot: Implement fullscreen and saving

* Fullscreen view without window border or deskbar
* Save current view as .png

Change-Id: I8abbc7c5dc0af06ee26aa29afdef79a41944438c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/867
Reviewed-by: humdinger <humdingerb@gmail.com>
Reviewed-by: Ryan Leavengood <leavengood@gmail.com>


# b318ff2a 05-Jun-2019 kerwizzy <kerwizzy@gmail.com>

Mandelbrot: Fix race conditions and missing initializations.

Change-Id: I64e7bb68631320a7f8d80be25b4011a0332e0348
Reviewed-on: https://review.haiku-os.org/c/1480
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# e5aeaa8d 25-Nov-2018 kerwizzy <kerwizzy@gmail.com>

Mandelbrot: Implement subsampling

* Added subsampling. This makes the render look less noisy and generally nicer.

Change-Id: I1dd667c8799bd97fb84e1401976da12ecf74ea8c
Reviewed-on: https://review.haiku-os.org/732
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 2c5c3004 24-Nov-2018 kerwizzy <kerwizzy@gmail.com>

Mandelbrot: Fix bug that allowed the view to become mirrored.

Change-Id: I88caf3c712bad30fa077bc8c0290b4706541c2b0
Reviewed-on: https://review.haiku-os.org/731
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 1c2518b4 18-Aug-2018 kerwizzy <kerwizzy@gmail.com>

Mandelbrot: Implement incremental rendering and other improvements.

* Incremental rendering allows the user to see how the render is progressing.
* Can move to a new location before the render finishes. Render will automatically restart at the new location.
* Multi-threaded rendering now renders from a horizontal line in the center, giving a better experience.
* Improved behavior for scrollwheel zooming. Now zooms with the mouse as the origin, as is the standard behavior in other applications such as map viewers.
* Added lots of TRACE statements internally, which can be turned on in the code for debugging.

Change-Id: I1ad39a262ebe5c1b51d46b8cc09fb4de5113b9de
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>


# a3792569 18-Oct-2016 Augustin Cavalier <waddlesplash@gmail.com>

Mandelbrot: Fetch pressed mouse buttons the proper way.

Thanks to Stephan for noticing.


# 25a6c9da 17-Oct-2016 Augustin Cavalier <waddlesplash@gmail.com>

Mandelbrot: Don't bother passing in "where" to GetMouse.

Prior to the previous commit, this would crash, which is why
I wrote it this way in the first place.


# 89815106 18-Jun-2016 Augustin Cavalier <waddlesplash@gmail.com>

Mandelbrot: Work around #12821.


# 5322a6db 18-Jun-2016 Augustin Cavalier <waddlesplash@gmail.com>

Mandelbrot: Add about window.


# e8f108e1 18-Jun-2016 Augustin Cavalier <waddlesplash@gmail.com>

Mandelbrot: Implement mouse wheel zooming.


# d4bca23f 18-Jun-2016 Augustin Cavalier <waddlesplash@gmail.com>

Mandelbrot: Reset position when changing sets.


# fb292a36 18-Jun-2016 Augustin Cavalier <waddlesplash@gmail.com>

Mandelbrot: Add 'box-select-to-zoom' support.


# c80973eb 18-Jun-2016 Augustin Cavalier <waddlesplash@gmail.com>

Mandelbrot: Add 'Iterations' menu.


# 29781d26 27-May-2016 Augustin Cavalier <waddlesplash@gmail.com>

Mandelbrot: Implement changing sets.


# d25186e7 27-May-2016 Augustin Cavalier <waddlesplash@gmail.com>

Mandelbrot: Implement palette switching.


# 7c0a95d2 27-May-2016 Augustin Cavalier <waddlesplash@gmail.com>

Mandelbrot: Fix resizing.


# 9daf130b 27-May-2016 Augustin Cavalier <waddlesplash@gmail.com>

Move the FractalEngine to its own thread.


# bdf389fd 27-May-2016 Augustin Cavalier <waddlesplash@gmail.com>

Mandelbrot: Add zoom out, correct initial render.


# 86370d7b 15-May-2016 Augustin Cavalier <waddlesplash@gmail.com>

Mandelbrot: Scrap the old app, initial workings of a new one.

Based upon a HTML5 fractal engine by @kerwizzy (relicensed as MIT and copyright
assigned to Haiku, Inc. with permission from the author). Hacky and a mess,
but it works, and has the potentiality to be much nicer than the previous
Mandelbrot app.

Already supports rendering & zooming in, but has hacks all over the place.


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# b4e5b88f 19-May-2011 Joachim Seemer <humdingerb@googlemail.com>

Localizing the demo Mandelbrot with a patch by taos, see #7519. Thanks. +alpha3

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41590 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0d29a228 27-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Compiler warning fixes.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37276 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7974d3dc 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35049 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f3f9e93a 18-Aug-2009 Ryan Leavengood <leavengood@gmail.com>

Some application MIME signature fixing.

We really should come up with a way to avoid the duplication between the rdef
and source code...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32505 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5654f620 12-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

Almost didn't notice this patch from Christian Packmann:
* changed function names iterate() and iterate1() to more descriptive
iterate_float() and iterate_double()
* set better starting position for Mandelbrot set
* add higher values to "Iterations" menu: 2048, 4096, 8192


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29477 a95241bf-73f2-0310-859d-f6bbb57e9c96


# edadb083 21-Jan-2008 Michael Lotz <mmlr@mlotz.ch>

Ah yeah, another interesting use of BView resizeMask and flags...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23693 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cd563ed6 04-May-2007 Axel Dörfler <axeld@pinc-software.de>

* Fixed build under GCC 4, thanks to Ioan Molnar!
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21022 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# b4e5b88f5a21eedb665667c6384887451558c558 19-May-2011 Joachim Seemer <humdingerb@googlemail.com>

Localizing the demo Mandelbrot with a patch by taos, see #7519. Thanks. +alpha3

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41590 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0d29a22888c233b0ee5e31ea21b56796c33b9a5a 27-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Compiler warning fixes.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37276 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7974d3dcf39ce78e5885b481eee12e561ad6e096 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35049 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f3f9e93a0c3c7f559ad21a203bc65628fc6a0e62 18-Aug-2009 Ryan Leavengood <leavengood@gmail.com>

Some application MIME signature fixing.

We really should come up with a way to avoid the duplication between the rdef
and source code...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32505 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5654f62097b2ace3648055b442e6a6d55872a0b3 12-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

Almost didn't notice this patch from Christian Packmann:
* changed function names iterate() and iterate1() to more descriptive
iterate_float() and iterate_double()
* set better starting position for Mandelbrot set
* add higher values to "Iterations" menu: 2048, 4096, 8192


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29477 a95241bf-73f2-0310-859d-f6bbb57e9c96


# edadb083bed259f01034cf7fe4bde75ff8970bb4 21-Jan-2008 Michael Lotz <mmlr@mlotz.ch>

Ah yeah, another interesting use of BView resizeMask and flags...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23693 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cd563ed67dd92234ee4e02e428116f471adb5a7a 04-May-2007 Axel Dörfler <axeld@pinc-software.de>

* Fixed build under GCC 4, thanks to Ioan Molnar!
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21022 a95241bf-73f2-0310-859d-f6bbb57e9c96