| Issue 31: | Screensaver mode for fractal | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Let fractal run as a Windows screensaver. Since it's a portable SDL app, it's not going to be easy to write a proper Windows message handler function responding to all the proper screensaver messages. Luckily, there is an alternative screensaver API based on command line switches.
At the minimum, it needs to support a "/s" command line option, to launch in screensaver mode. This has been implemented an alias to --auto. However there are three issues with auto mode:
1. It zooms in infinitely, and later zooms appear to pretty much stall (or become infinitely slow), making it hard to terminate it. I'm thinking that each mfunc should specify a maximum zoom value (based on whether it's float, double, int), which will trigger a restart at zoom level 1.
2. It zooms in on the same sequence of points each time. Randomisation in picking an interesting point will help. Also it sticks with the default settings (depth, drawing mode, etc.); maybe it should randomly change these from time to time.
3. It exits when you press ESC. A screensaver should exit when the mouse is moved or any key is pressed.
1 and 2 should be changes to auto mode, and 3 should be a change to a new screensaver mode.
Secondly, as I recall, additional screensaver options are:
/c show a configuration window
/p HANDLE show a preview in the window identified by HANDLE.
/c isn't necessary yet, since I'll just make it use a sensible default auto behaviour.
/p will be hard since it'll require tricking SDL into drawing on a different Windows window. Don't think I'll bother with that one.
Aug 23, 2015
Project Member
#1
ejrh00@gmail.com
Status:
WontFix
|