Python: Mandelbrot explorer 0.9 now save and resume update Jan 23 /2022
|
01-06-2022, 06:16 PM
Post: #13
|
|||
|
|||
RE: Python: Mandelbrot explorer now interactive update 15.08.2021
Hello Guenter:
Happy New Year!!! Nice work. I've long played with Mandelbrot code - from the days of having an Atari 800 or a DOS PC run all night!!!, and this app is great. I am stumbling a bit with using the Prime (I've been distracted by other machines and life!!!). The whole connectivity kit, App structure and Python still require some exercise on my part!!! It would be interesting to compare the Python performance with 'native' HPPPL performance. Regards, TomC (08-15-2021 07:25 PM)Guenter Schink Wrote:(08-15-2021 06:44 PM)jte Wrote: One interesting thing I noticed is that, when doing more complex plots, I have to intentionally hold down my finger until the display stops updating (and then release it) in order to get a zoom. From looking at the Python source, I'm thinking this is due to checking for touch events once per line (and that quick taps may entirely happen in the middle of rendering one row). This may well be an acceptable efficiency trade-off (to checking more often; I didn't try changing the code). The presence of "ClearMouseBuffer()" made me think perhaps it would take a couple of rows for just-the-right mouse event to show up, but that doesn't seem to be the case.Yes, you're right. At first I used this program on a G2, where this problem only occasionally pops up. But on the G1 it's more discernible. Checking for touch or key at each pixel has a significant cost in time. Therefore I believe its a matter of getting accustomed to the need of a more determined touch. But it should suffice to let the finger for about a second (say "twenty one") on the screen, worked for me on the G1. It usually also works this way with the keys. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)