← All projects
Project record1 mention
Originally shared on Hacker News

Scrawl-canvas

An open-source JavaScript canvas library maintained and improved in the author's spare time. This month's work adds new OKLAB/OKLCH color filters — reportedly not yet considered by other canvas libraries — and refactors the reduce-palette (dither) filter code to run faster.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Scrawl-canvas

    An open-source JavaScript canvas library maintained and improved in the author's spare time. This month's work adds new OKLAB/OKLCH color filters — reportedly not yet considered by other canvas libraries — and refactors the reduce-palette (dither) filter code to run faster.

    Posted by @rikroots · Original source ↗

    Source text · @rikroots · · Source ↗

    I'm working on maintaining and improving my canvas library. Which is not news because I spend much of my spare time doing this exact same work. However for this months work, I'm adding new stuff to the library - specifically some new OKLAB/OKLCH filters: something I don't think other canvas libraries have yet got around to considering[1]. And this weekend (a 3 day weekend in the UK) I'm spending time fixing the horror-show code for the reduce-palette (dither) filter[2] to see if I can get it to work just a little bit faster ...