Forget Pixel Art: Try Subpixels (hackaday.com)
from mesamunefire@lemmy.world to technology@lemmy.world on 24 Nov 2024 23:21
https://lemmy.world/post/22400264

#technology

threaded - newest

over_clox@lemmy.world on 24 Nov 2024 23:50 next collapse

I’ve lightly dabbled into subpixel art, sorta.

In my experiments, each full pixel still takes 3 subpixels, but…

If you drop a white pixel at X coordinate, it renders 0xFFFFFF on the RGB subpixels.

But drop a white pixel on X+0.33, it renders on GBR.

Drop a white pixel on X+0.67, it renders on BRG.

All three are valid white full pixels, just offset by thirds.

I guess that would more appropriately be considered ‘fractional pixels’ or something though. Still neat that if used properly and creatively, it can yield higher resolution graphics, of sorts…

gsfraley@lemmy.world on 25 Nov 2024 02:34 collapse

Those tricks are actually used pretty frequently in modern graphics stacks, especially around things with fine edges like text. In those cases it’s called “subpixel anti-aliasing”.

cmnybo@discuss.tchncs.de on 25 Nov 2024 06:05 collapse

Of course that all falls apart if the display doesn’t use a normal subpixel layout. OLED displays usually have an unsupported subpixel layout. Some of them even have a white subpixel that’s not controllable by the computer, which makes subpixel anti-aliasing impossible.

iamanurd@midwest.social on 25 Nov 2024 08:16 collapse

I returned my first oled because of this. It was maddening reading and writing, and made any graphic design impossible.

Bought a new one this year and they seem to have solved the problem.

reddig33@lemmy.world on 25 Nov 2024 00:12 next collapse

Looks like an Apple II color display.

SwordInStone@lemmy.world on 25 Nov 2024 21:34 collapse

is mentioned in the video at the end of the article

knobbysideup@sh.itjust.works on 25 Nov 2024 00:33 next collapse

This was a trick back in the computer hooked to your TV days. There was a higher resolution mode on my Tandy color computer. It was black and white, though. But if you alternated positions properly you could also have solid red and blue fills.

RagingSnarkasm@lemmy.world on 25 Nov 2024 05:38 next collapse

This image is giving me 1970s Lite Brite flashbacks.

nutsack@lemmy.world on 25 Nov 2024 09:40 next collapse

no i can’t

ayyy@sh.itjust.works on 25 Nov 2024 19:25 next collapse

When do we have the hipster sub-sub genre that uses a Pentile arrangement?

[deleted] on 25 Nov 2024 22:08 collapse

.