10-25-2020, 10:43 AM
(10-21-2020, 05:01 AM)purlupar Wrote:(10-21-2020, 02:00 AM)danielt Wrote: I suspect that int(z[1]+si*p-w//2) has evaluated to a negative number (resulting in one of the four expressions on the last line being out of range). When running on the simulator it should be easy to print them: perhaps modify the set_window() method to print out all its arguments.
It will be a slow but it should be fairly clear.
That was it! In fact, not negative but too large. I somehow wanted to draw hands larger than the display, which went well until now. I'll commit and re-do the pull request later today. Thanks so much!
Hi,
I'm developing a watchface based on your analog and chrono24 watchfaces . My goal is develop a configurable clock that allows the user customize the watchface using a settings page (not implemented). Currently supports de digital clock (same than the Dainelt but refactored) and an analog clock. I'm struggling with the performance... In the simulator, your analog or chrono24 apps or my configurable clock it seems not to be enough faster.
If you are interested, lock at: https://github.com/arkharim/wasp-os/blob...e_clock.py I tried to clean a liitle but it is in development.
One interesting feature is that it supports background images . I modified the Draw565 library adding the redraw_blit method.
Finally, today in the pinetime chat one guy share a table with the sin and cosine calculated. In want to try to check the performance but my feeling is that the problem is related with spi velocity.
Important, I only tried this watchface in the simulator as I don't have a pinetime already (waiting for a one unit sealed pinetime)