Log In  


Cart #18685 | 2016-02-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
28


Classic demoscene effect, now in PICO-8 form!

28


Damn, that code is totally incomprehensible to me. Wish I could've learned how to do things like these from it, but I neither understand what memset does, nor why the values of hline() are what they are or where all the values come from, especially XM. Oh well, I'll figure it out eventually. Good job!


This is great!


It's mesmerizing.


1

btw. you can press buttons to toggle the outline on and off

@Pizza:

The effect itself is:

x1 = sin(a)
x2 = sin(a+90)
x3 = sin(a+902)
x4 = sin(a+90
3)

the rest is just scaling, positioning and animation via coordinate offsets.

memset is documented in the pico-8 manual, it is a function to write directory to memory (I'm writing to 0x6000 which is the screen memory)


Oh boy, that does help understand it. Thank you!


thanks for posting this! I learned a ton from the code :D


1

Seen this the first time in "Hardwired" demo on Amiga, called it the "marshmallow" effect ^^

Thanks for posting this.


I don't know why, but that looks really tasty. I want to eat it.


I can't stop watching this @_@



[Please log in to post a comment]