Log In  


Cart #56802 | 2018-09-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

Reverse stereographic map with temporal dithering. Unfortunately it is too slow for the temporal dithering to effectively simulate new colours.

4


1

Wwhhooooaaaa that's super cool!!


1

Really quite pretty. Good opening for a candy-based cartoon or video game.


2

Maca:

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. :)


1

Running @60fps full resolution thanks to precomputing first cycle. Cool.

Cart #57066 | 2018-09-25 | Code ▽ | Embed ▽ | No License
1


Precomputation, there's the ticket !

Is there a way to precompile quicker by not plotting anything the first pass ?


You can remove the sqrt to save a pretty decent chunk of inner loop time.



[Please log in to post a comment]