Email or username:

Password:

Forgot your password?
BITNACHT

I wanted to recreate the classic #Amiga clock in #golang and #fyne, but my current solution (using a completely new SVG with rotation transformations for each element) is too wasteful on the resources. Even beefy machines sometimes skip a second.

Activity monitors shows that three of my eight CPUs are visibly working. Combined it would be more load than 100% of one CPU
This is how the clock looks. Oh my god! Is it really that late?
The background is blue. Black hands for minutes and seconds. Hours are diamond shaped ornaments and between two adjacent hours there are always four tick marks. The seconds hand is orange. It looks like on the Amiga, but 10x the resolution.
1 comment
BITNACHT

I have used a 2D library called gg to make the clock render more quickly and with less CPU load. It is still far from perfect and has the wrong DPI on a mac. But I put it on #Codeberg none the less. So anyone, who is interested, may have a look.

codeberg.org/Bitnacht/fyck

#Amiga #golang #fyne

Go Up