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.

P#56803 2018-09-17 17:10 ( Edited 2018-09-26 01:48)

1

Wwhhooooaaaa that's super cool!!

P#56805 2018-09-17 17:21 ( Edited 2018-09-17 21:21)
1

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

P#56806 2018-09-17 17:28 ( Edited 2018-09-17 21:28)
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. :)

P#56825 2018-09-17 23:24 ( Edited 2018-09-18 03:29)
1

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

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

P#57067 2018-09-25 03:04 ( Edited 2018-09-25 07:04)

Precomputation, there's the ticket !

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

P#57098 2018-09-25 15:06 ( Edited 2018-09-25 19:06)

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

P#57102 2018-09-25 21:48 ( Edited 2018-09-26 01:48)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 11:16:12 | 0.042s | Q:31