The developer created the version of the game “Snake” using the tiny subpixels of the display

Programmer Patrick Gillespie developed, perhaps, the most miniature version of the classical game “Snake”. Instead of the usual graphics, its version of Snake uses separate subpixels of the LCD display, which makes the game almost invisible without … microscope.

Image source: Patrick Gillespie / YouTube

The game, created by Gillespie, is played in a web browser and works according to the same rules as the standard version of Snake, writes Notebookcheck. The user controls a “snake” that absorbs objects and becomes longer with each “eaten” element. The peculiarity of this project is that instead of an image, the movement of the object is displayed on the screen only at the level of subpixels, each of which consists of three parts – red, green and blue.

It is these subpixels, working together, that produce the colors on the screen. However, Gillespie managed to make the game use only one of them, which required a lot of work and significant modification of the program code.

The first difficulties arose with the accuracy of the display. For example, when activating a green subpixel, the light from the monitor illumination partially illuminated the neighboring red subpixel, creating visual artifacts. However, Gillespi solved this problem by switching to a non -standard color space that differs from a well -known and widely used SRGB format.

The result is a game that is impossible to see without a microscope, and despite its absolute impracticality (how to play it?), the project demonstrated the ability to control tiny pixels through writing program code, which is interesting in itself and may have an impact in the future on the development of technology in the field of displaying data on monitors.

admin

Share
Published by
admin

Recent Posts

Xiaomi managed to deliver 150,000 SU7 electric vehicles to customers

Introduced about a year ago, the Xiaomi SU7 electric car began shipping at the end…

2 hours ago

Core Ultra 9 285K review: one step forward, two steps back

Three years after the appearance of the Alder Lake processors, Intel started a large update…

7 hours ago

TikTok is back, but changed: US users complain about censorship

US TikTok users reported signs of censorship and increased content moderation after the platform was…

7 hours ago

The release of the Hollywood Animal Hollywood Strategy was postponed due to fear of large February releases and not only

The developers from Weappy Studio have made another decision to postpone the release date of…

7 hours ago

In the UK, the largest data center in Europe will appear, which will be built for an unnamed hyperscect

The City Council Hurtsmer, according to The Register, approved the construction of a data processing…

8 hours ago