Four colour theorem and NES graphics

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Four colour theorem and NES graphics
by on (#94180)
I didn't realise it until now, but there is a coincidence in the number of colours the NES can display with a single palette and the max. number of colours that is needed to distinguish arbitrary regions in a 2D plane.

I'm not sure if this has any applications but I just discovered this coincidence and I'd like to know if anyone else ever noticed.
Re: Four colour theorem and NES graphics
by on (#94181)
Bregalad wrote:
I didn't realise it until now, but there is a coincidence in the number of colours the NES can display with a single palette and the max. number of colours that is needed to distinguish arbitrary regions in a 2D plane.

I'm not sure if this has any applications but I just discovered this coincidence and I'd like to know if anyone else ever noticed.


I would think the 4-color palette is more just the intersection of competing design goals that became the PPU.

by on (#94193)
Use this knowledge to make an NES port of Balance of Power.
Re: Four colour theorem and NES graphics
by on (#94195)
Bregalad wrote:
I didn't realise it until now, but there is a coincidence in the number of colours the NES can display with a single palette and the max. number of colours that is needed to distinguish arbitrary regions in a 2D plane.

I'm not sure if this has any applications but I just discovered this coincidence and I'd like to know if anyone else ever noticed.


What color theorem are you referring to?

by on (#94199)
I think there's only one Four Colour Theorem...

by on (#94230)
rainwarrior wrote:
Use this knowledge to make an NES port of Balance of Power.

I mean this theorem doesn't apply only to countries on a map but can be generalized for any kind of 2D shapes.

In other words, you can draw any set of shapes in a 2D plane with 4 colours, each shape being another colour than the shape next to it.

I think this means you can draw anything on the NES, at least the shape of anything.

by on (#94475)
the things I learn on Nesdev...