> A slightly different approach?

from what I understand from [this 
chapter](https://github.com/treeform/pixiebook/blob/master/context.md) of the 
new pixiebook linked above (very nice!), the context based api is for people 
familiar with JS Canvas or Cairo, but everything (and possibly more) should be 
doable with the "native" `image`-based api.

> My apologies for adding cruft that probably belongs on a separate thread.

I think it is fine to bump and celebrate the great work @treeform and @guzba 
did on pixie with more examples and discussion even if not directly related to 
the new release. I did appreciate this, since it lead me to learn about this 
two apis that I was not aware of.

In the same spirit, I will share another example of pixie usage I did some time 
ago where I used pixie to reproduce the wordle game social image (and generated 
an italian version, which is currently used for an italian translation of 
wordle): <https://pietroppeter.github.io/wordle-it/images.html>

there are a couple of instances there of pasting an image into another 
(`addSquare` and drawing the flag) and oddly enough I was using once the 
context based api and the second time the image based api without realizing 
about the differences...

Reply via email to