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

Study: Apple C1 mobile modem falls short of Qualcomm modems in terms of connection quality in difficult conditions

A study by Cellular Insights Inc. found that Qualcomm's mobile modems perform better than Apple's…

9 hours ago

Tesla Warns Trump Administration of Chip Tariffs

Tesla has called on the Trump administration to exercise caution in imposing tariffs on imported…

9 hours ago

To better compete with OpenAI, Meta will split its AI team into two

Meta✴ will split its AI teams to better compete with OpenAI and Google, as well…

9 hours ago

The Order: 1886 Director Co-Founds New Studio — Atlantis Studio Aims to Conquer the Industry with Innovative Games

Ru Weerasuriya, co-founder of Ready at Dawn, which closed last summer, and creative director of…

9 hours ago

Review of the wireless speaker “Yandex Station Street”: Alice in the cities

To be honest, when I first saw the news about the release of the portable…

9 hours ago

Blacktail developers announce Davy x Jones — a shooter about the headless pirate Davy Jones in the afterlife of sailors

Polish studio Parasight, known for the folklore action game Blacktail about the young Baba Yaga,…

1 day ago