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

Alienware Unveils Thin, Affordable Aurora 16 and 16X Gaming Laptops with Understated Designs

Alienware, a subsidiary of Dell known for its futuristic gaming laptops, has released new high-performance…

17 hours ago

Meta to Give Ray-Ban’s Next Smart Glasses ‘Superperception’ — Face Recognition

Meta✴ is exploring adding facial recognition technology to future versions of its Ray-Ban Meta✴ smart…

17 hours ago

Synology Releases DiskStation DS1825+ and DS1525+ NAS Based on AMD Ryzen V1500B

Synology has announced the DiskStation DS1525+ and DS1825+ network storage devices in a desktop form…

17 hours ago

Nvidia left the press without a driver for GeForce RTX 5060 – so reviews will not spoil the launch of sales

Igor’s Lab reported that Nvidia “decided not to provide a press driver” for the GeForce…

17 hours ago

Bitcoin Breaks $100,000 Again — ‘It’s All About Flows’

Bitcoin has once again surpassed the $100,000 mark — the last time such a rate…

19 hours ago