4 ms·
Looks better than any Python GUI framework I’ve seen..
by bvan 8mo ago
Looks better than any Python GUI framework I’ve seen..
- ErroneousBosh 8mo agoCan we port it to Intel, I wonder...?
- sintezcs 8mo agoIt uses LVGL https://github.com/lvgl/lvgl https://github.com/lvgl/lvgl
- sgt 8mo agoOh that explains why it's fast!
- nubinetwork 8mo agoLVGL... fast? It's used on meshtastic devices, and I've always felt it was rather clunky. /shrug
- sgt 8mo agoIs it possible to make a fast UI on say, an ESP32?
- nubinetwork 8mo agoWish I knew... I'm half way towards looking for companies who make white label android devices for a project of mine... I originally wanted to go stm32, but as soon as you add a touchscreen and want a responsive gui, my only options seemed like "smart displays" with pre-rendered ui graphics, or a full blown arm device. /shrug
- sgt 8mo agoNow I am curious what you're working on :-)
- pjmlp 8mo agoYes, see MS-DOS games. Now skills to do it 30 years later is another matter.
- sgt 7mo agoIs it possible though? I have never seen an LVGL demo (just plain C) able to present a demo or animation that is as "smooth" as a MS-DOS game on say a 486. Not that the 486 was butter smooth but it's not quite there. Maybe its the interface for the screen?
- hulitu 8mo agoWell it runs at 20 Mhz, like a Motorola 68020 (Apollo DomainOS), so I would say, yes. Microsoft has difficulties drawing (rounded) rectangles at 2 - 4 GHz but that's another issue.
- sgt 8mo agoBut Motorola 68k in say... the Amiga (I don't know Apollo) would have additional chips for sprites and blitting, right? And the ESP - despite being extremely fast, doesn't have that extra support. So you need CPU... + tricks, DMA, triple buffering etc
- matt_trentini 8mo agoWhere are you getting 20MHz from? The OG ESP32 is a dual-core 240MHz micro...
- apitman 7mo agoI've been looking into this recently. It seems to be possible with the right kind of controller: https://www.youtube.com/watch?v=ZWtTmmne6Bo https://www.youtube.com/watch?v=ZWtTmmne6Bo Also the newer esp32-p4s have MIPI DSI onboard which apparently can do smooth HD.
- skeledrew 8mo agoI reckon you've never seen flet. https://flet.dev https://flet.dev
- PyWoody 8mo agoThat looks interesting. I had not heard of flet. How do you like it? How easy is it to work withe the layout controls?
- skeledrew 8mo agoIt's a mixed bag, as it's still not stable (esp as very recently declarative support was added in what was likely a mostly-rewrite). But when it works, it works great (I've only tried on Linux and Android).
- PyWoody 8mo agoNeat. I'm skimming the documentation now and it looks like something worth keeping an eye on. I have so many long-running scripts that I sometimes set up with TUIs or quick PyQt/PySide GUIs but the GUIs always seem overkill and the TUIs always leave me lacking. flet looks like a good in-between of the two.
- skeledrew 8mo agoI'd say it definitely makes building GUIs more simple and intuitive than the Qt and Tk frameworks at least. And very important for me, it's fully cross-platform (for the most popular platforms anyway). I must admit that the imperative style does start to become painful as complexity increases, which led to me dropping it for a while, and so the declarative update is welcome even though it takes some time for me to mentally grep.
- apitman 7mo agoHow does it compare to Beeware?
- 7mo ago