Any folks know of a library for drawing pretty-looking, clean boxes arranged in various patterns?

I am looking to make some simple images like this to demonstrate addition, subtraction, multiplication, etc.

Bonus points if it has support for some existing pedagogical framework (e.g. “ten frames”).

@pganssle Have you seen Manim? It's geared toward animations, but you can generate static images as well. It might be nice to use a library that can support animations, even if you're not planning to use them right away.

I haven't used it myself, but I have seen it used in a project I really like.

@pganssle this article talks through how roughJS works to draw things in a similar style. With these techniques it seems like it wouldn't be too hard to roll your own library in Python:

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.