toasters rocks

p5.js

Welcome to the second installment of my code experiments! This time we’re gonna look into the weird effect used in the background of messages in Ecco the Dolphin for the Sega Genesis (or MegaDrive, if you’re asking someone outside the Americas). I got the idea from Twitter user @Foone who helpfully reverse engineered the game ROM (with Twitter user @Reaper_man02) to figure out how it works and wrote an implementation in Python.

Read More...

Now that I can easily embed JavaScript on this blog, I should put here some of my experiments and weird code that does nothing, cause why not. This one is some colored Perlin noise made using p5.js, it would be pretty cool as a background for something, isn’t it? It is quite simple using the noise function, one the simplest things you can do with it is color = noise(x, y, time) for each pixel on the canvas, usually you make it grayscale but this time I’m generating 3 of them for each color component (red, green, blue) with a different seed.

Read More...