News for hackers. Stuff that matters.
Re:Show HN: SNES Style Canvas Effects by zenobit256 on Monday September 19, 2016 @11:10AM (#12532001)
How exactly are these "SNES Style"?

Just looks like particle effects. I was hoping to see effects that were actually specific to the SNES.

Re:Show HN: SNES Style Canvas Effects by khkramer on Tuesday September 20, 2016 @04:55AM (#12538073)
I came across this a while back:

https://www.gjtorikian.com/Earthbound-Battle-Backgrounds-JS/

It's a (near) perfect recreation of the battle bg's from the SNES game Earthbound

Re:Show HN: SNES Style Canvas Effects by camhenlin on Monday September 19, 2016 @02:34PM (#12533604)
Right, I was expecting something similar to mode 7 graphics
Re:Show HN: SNES Style Canvas Effects by bitwize on Monday September 19, 2016 @01:28PM (#12533077)
The first DirectX program I ever wrote was called Santa Robotnik.

I drew a sprite of Dr. Robotnik (from Sonic) in his egg-shaped vehicle, which had been fitted with sleigh runners and a sinister-looking robot reindeer. I made it move across the screen with a snow effect in the foreground much like the one see here.

It's real simple to do: just add Brownian motion (a tiny random positive or negative x displacement and a tiny random positive or negative y displacement) to a velocity vector that points down and slightly to the side, and increment the snowflake's position by that per frame. Multiply that by a hundred snowflakes or so, each of which reset, or die and respawn, once they fall off the bottom and you're set.