You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Just so you can test - here's @allObjects' code in the emulator (using the 120x120 gfx mode to double up pixels): https://www.espruino.com/ide/emulator.html?gist=d1b9f19415fe7d58dff5fe8bedf7fbd4&upload

    @Raik thanks - that code looks great. It does say public domain, and honestly it's pretty simple and I'm sure I've seen similar pseudocode in a bunch of places. I'll reimplement it for Espruino with the same basic logic (ideally the final rendering stage would use Espruino's fillRect anyway) just to avoid any potential issues.

    ... I also wonder how hard it'd be to add antialiasing to that. Probably not that painful at all :)

About

Avatar for Gordon @Gordon started