This is really great. The tool in particular is very useful. I love that I can switch between library vs table vs playdate short/full code samples too.
If you don't mind, I'd like to suggest a couple features: invert current pattern (not just full black/white) as well as changing the scale of the preview (sometimes I want to "zoom in" to the preview).
Mostly because patterns can be used on any given sized shape, so maybe instead of zoom, I'm more wanting to be able to see the pattern filled inside various geometry primitives. So maybe a way to preview the pattern fill inside various different shapes!
According to the updated rules, I closed public access to the GFXP Lib source code on GitHub. The latest version (beta) is available here. GFXP-Source-1.zip (5.8 KB)
Small request: use CSS image-rendering property so no anti-aliasing is applied to the previews? Apologies ahead of time if I missed this in your css already.