microcontroller tests

To keep code size small and constraining development of ctx from the beginning has been the ability to use it for antialiased resolution independent user interfaces on microcontrollers. The performance of ctx has increased since these video were made, and making more use of RGBA8 directly in small bands is preferable to working in RGB565 like these demos did. New iterations of demos are planned, and the codesize of ctx with full HTML5 canvas API support fits modern microcontrollers, the codesize can be as small as 30kb + 20kb (ascii font) of footprint and needing as little as 5kb at runtime.

The arm-cortex-m4 at 97mhz in the card10 badge and on the TTGO ESP32 both with immediate rendering, the card10 has a 180x80 display with really high visual quality, while the TFT LCD on the ESP32 has slightly higher pixel resolution at 160x128, video from november 2019.

january 2020, a demo running on an esp with 320x240 RGB565 display, here the framebuffer is larger than the biggest single allocation we can afford and the deferred rendering is rendering the display in 4 chunks.

With little geometry this is fine; with more the displays starts having very visible tearing on large content changes.