2 ms·
> I had been assuming Python would be too slow It likely would be if you had to implement algorithms in Python at the pixel level on Python data structures. Th
by zahlman 2y ago
> I had been assuming Python would be too slow
It likely would be if you had to implement algorithms in Python at the pixel level on Python data structures. The libraries you use do the hard part in C and provide an API to Python.
Anyway, I see how this code would multiplex four sources into a 2x2 grid in an output feed - but not how it would loop anything... ?
- chillingeffect 2y agoI believe it's in the playback_frame() function via the % operator.
- zahlman 2y agoAh, I missed that, good catch.