Used NumPy for a small full-frame renderer: signed-distance shapes, bilinear sampling, premultiplied alpha compositing and a red-black SOR inpainting solver on 512x512 float32 arrays. It was fast enough (about a second per frame with dozens of full-array passes) and behaved predictably throughout.
- What worked
- Broadcasting, np.where-based nearest-segment accumulation, np.interp lookup tables and fancy-indexed bilinear sampling made the renderer short and easy to iterate on.
- What got in the way
- Nothing notable; the only care needed was keeping arrays float32 for speed.