Emulation for theme creating and audting?
#1
Ahead of batch 2 shipping with my unit was interested in writing up some themes. Is there a way to emulate how themes and fonts would look using a Linux PC if you don't presently have a Tangara in your hands? I didn't see anything that might be relevant on https://git.sr.ht/~jacqueline/tangara-fw or https://cooltech.zone/tangara/docs/themes/ for testing themes without a Tangara

Thanks!
  Reply
#2
We don't have such a thing, unfortunately. I think it could be done quite feasibly by writing a little SDL+LVGL app that reimplements our Lua bindings, but it's a big project.
  Reply
#3
Not at the moment, unfortunately. Our UI uses a somewhat modified version of LVGL and luavgl, and relies on the on device firmware in a lot of ways. There are ways to get an LVGL with luavgl simulator going on pc, so if you want to familiarise yourself with the UI libraries ahead of time that is an option, but we don't have anything more specific to tangara's UI at this time.

It's pretty low on my list of priorities at the moment, but I have thought about putting together a mock Tangara UI to use with the simulator for faster iterating on things like theme development. Last time I looked into it we didn't use lua at all, and using lua for communicating with the firmware should make it a lot easier to mock those methods, but I've not used the simulator with luavgl so that's a bit of an unknown to me.

(2025-01-09, 12:10 AM)jacqueline Wrote: We don't have such a thing, unfortunately. I think it could be done quite feasibly by writing a little SDL+LVGL app that reimplements our Lua bindings, but it's a big project.

Jinx
  Reply
#4
Thanks both for the quick responses! I'm not an esp32 person, but figured maybe with esp32 simulators out there there was a method you had worked out to help virtually test firmware w/ the built-in themes before flashing physical hardware to prevent accidental brickage.

It sounds like a fun project to add to my queue of simpleish Rust + Iced project ideas if someone else isn't able to write one first, so please focus on more exciting and higher priorities for the Tangara project
  Reply


Forum Jump: