Загрузка страницы

256 colors is enough for everyone

In this video I use source code as means to illustrate how stunning RGB graphics can be achieved on a 256-color screen, so much that you actually may doubt whether it is really only 256 colors.

Twitter: https://twitter.com/RealBisqwit
Patreon: https://patreon.com/Bisqwit (alternatives at https://iki.fi/bisqwit/donate.html)
Twitch: https://twitch.tv/RealBisqwit
Homepage: https://iki.fi/bisqwit/

Note: The animation does not look blurry because of dithering. Dithering does increase blurriness a little, but in a different way and most certainly not this much. The reason to blurriness is that the actual video is all about orbs that do not have a defined edge (they're just clouds of pure light). And then there's motion blur that is added to it. In other words, the _original_ video material is blurry. I created it this way to maximize the number of color mixtures shown.

[SPOILERS BELOW]
Disclaimer: The story behind this video is a fabrication to justify the fact that the code is too complex for QuickBASIC to run, and too heavy for today's computers even if translated to C, unless run on a multicore CPU. All the technical details are absolutely correct. I did indeed write the first revisions of this program in QB, but I then translated it to C++, with which I created the actual animations after refining the code a bit, and I backported the changes to QB to show how it _would_ be done, did QB not have those limits. The reason why it is slow is not because of dithering, but because of the really ineffective algorithm for rendering stars, dithering or not; what with doing some 25000 distance calculations tests _per pixel_.
[END SPOILERS]

Also, I am not advocating anyone to replace 24bpp with 8bpp. Rather, I am trying to educate programmers to utilize paletted resources better, and I illustrate some exact algorithms with which to achieve that. Stop using floyd-steinberg for GIF animations!
If you cannot get the program working, you are not yet part of the target audience.

Note: In this video, I used a copy of actual QuickBASIC 4.5 by Microsoft... well, Megasoft Corp. However, after creating and publishing this video, I discovered QB64, a modern free port of QB. I ported this program to QB64! It works, though minor changes. Here is a link to the QB64 version's source code: https://bisqwit.iki.fi/jutut/kuvat/programming_examples/sfield_qb64.bas
Note that it still requires computers from a parallel universe to run smoothly...

Видео 256 colors is enough for everyone канала Bisqwit
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
25 февраля 2011 г. 11:02:03
00:14:56
Яндекс.Метрика