| ▲ | zerr 3 hours ago | ||||||||||||||||
What do they use for graphics and audio? | |||||||||||||||||
| ▲ | trelliscoded 23 minutes ago | parent | next [-] | ||||||||||||||||
They mention OpenGL for the bigger targets, but I was wondering how this worked for the ESP32. Turns out they wrote a custom 2D rasterizer specifically for this target, basically a miniature version of a browser layout engine: https://geastack.com/blog-we-taught-a-chip-to-run-css | |||||||||||||||||
| ▲ | zero_shift an hour ago | parent | prev | next [-] | ||||||||||||||||
It's not clear at first glance, but given (1) the apps are written in JavaScript (2) the project has repos for different OS native bindings, my bet is some kind of embedded JavaScript engine that just calls through to OS native widets | |||||||||||||||||
| ▲ | dashersw 3 hours ago | parent | prev [-] | ||||||||||||||||
Each platform has its native bindings. For graphics, you write CSS and HTML canvas API as well as JSX, it renders to native components and their alignments, the canvas API is converted to native surfaces, whatever the platform uses. | |||||||||||||||||
| |||||||||||||||||