AdrianoMoura / GameBoyCameraJS

0 stars 0 forks source link

The Game Boy Camera uses a Bayer 4x4 dithering algorithm #1

Open Raphael-Boichot opened 2 months ago

Raphael-Boichot commented 2 months ago

Hello.

Just an idea : use a Bayer dithering algorithm that is the one used by the Game Boy Camera. It is explained here: https://github.com/HerrZatacke/dither-pattern-gen

Raphaël

AdrianoMoura commented 1 month ago

Nice,

Initially, I was just trying to make a quick demo and stumbled upon a solution that looks nice enough. My first attempt didn't even have any dithering function, just the palette swap, but it didn't look right. And so, I went down a rabbit hole.

I'm going to read the documentation you sent and maybe create a new dithering function using that idea, keeping both in the code.

Thanks a lot!!!