I was curious how your temporal dithering would fare if it were at a full 60fps, so I looked at your code to see if there was anything obvious I could suggest.
I'm happy to say it's optimal in terms of algorithm, but there were a few minor optimizations I could make that are really specific to PICO-8's lua interpreter.
One can also enable 60fps mode so that the average stall inside of the implicit flip() at the end of _draw() would be halved.
Unfortunately, my PC is dead and I'm stuck on an old laptop with no PICO-8... except wait, duh, zep doesn't tie the license to a machine. So I grabbed PICO-8 again (yay!) and fiddled for a while.
Still, I couldn't get it above 12fps.
So, I set it to 64x64 mode and only rendered the middle 60x60. That just barely fits in 1/60s.
So, this is how your temporal dithering looks when running at sufficient speed, albeit at low resolution:
Works pretty well, I'd say. Cool algorithm, shame PICO-8 just wasn't up to the task of doing it full-res. :)
By the way, I assume you were aiming for a tweetcart, with everything being so minified. I definitely destroyed that option here. :)
[Please log in to post a comment]