I decided to make the air hockey rink look like Spousey's favorite team's home stadium. I got to decode an SVG file to extract the mascot. (SVG is a nice file format, IMO.)

Here's the current artwork next to an overhead photograph of the actual rink.

🧡 7/N

#AirHockeyKit #Cairo #PyCairo #SVG

PyCairo. It's not as Postscript-like as I thought it would be. But it works. I have a bunch of hockey rink markings in a PDF file. Vector, so the printer can find its own resolution.

The gray border shows the area the bumpers will cover. That will not be shaded on the transfer acetate.

🧡 6/N

#AirHockeyKit #Cairo #PyCairo

I've decided I'm going to use PyCairo to draw the graphics. That will let me mix arbitrary calculations with vector graphic elements, and PyCairo can generate a variety of image formats. That's where I am now, just starting to learn PyCairo.

🧡 4/N

#AirHockeyKit #Cairo #PyCairo

#genuary2 : Layers upon layers upon layers.

Fixed my drawing utility to fill polygons correctly! (Using #python + #shapely + #pycairo) #GENUARY

Hello, #python folks! Anyone run into trouble trying to deploy #pycairo or #cairosvg into a #pipenv #virtualenv? Mine fail to find #libcairo2, despite it being available on the system. (I run an OLD MacOs, with python 3.9 and other tools installed using #fink).
I'm either failing to understand the #pycairo MeshPattern class or it simply doesn't work… πŸ€”
Finally figured out how to draw on my desktop with #pycairo using a window without decorations and *with* working compositing, refreshing (turned out to be the hardest part) and sticky on all desktops. \o/

Anyone here ever use #pycairo to render stuff onto the X11 root window?

Trying to figure out how to trigger a function each time the root window is redrawn, but it's proving to be a goose chase… :F

And then had to symbolically link to the pycairo.h file in /usr/local/include/pycairo/ from /usr/include/

Just because the pkg-config info for pycairo headers wasn't set correctly.

#Gimp #PyCairo #Linux