256 colors is enough for everyone
Sign in to YouTube
Sign in to YouTube
Sign in to YouTube
Uploaded on Feb 24, 2011
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.
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.
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_.
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: http://bisqwit.iki.fi/jutut/kuvat/pro...
Note that it still requires computers from a parallel universe to run smoothly...
- 15:00 Creating a raytracer for DOS, in 16 VGA colorsby Bisqwit10,505 views
- 15:04 Creating a NES emulator in C++11 (PART 1/2)by Bisqwit72,061 views
- 10:58 Writing a QBasic game from scratch -- Snake game exampleby Bisqwit25,734 views
- 9:41 Photoshop Tutorial for Fashion Design (03/24) Menus - File, Edit, Imageby Designers Nexus Inc.11,185 views
- 8:15 Creating a YouTube video in QBasicby Bisqwit7,644 views
- 15:00 Creating a NES emulator in C++11 (PART 2/2)by Bisqwit25,185 views
- 18:21 Creating a MIDI player in MS-DOS / BASICby Bisqwit7,956 views
- 5:57 Coulter vs. Rubin: Cheney's 'Stop Dithering' Challenge to Obama on Afghanistan Strategyby Addicted2News5,898 views
- 30:31 A look at the 286by HighTreason6102,074 views
- 9:45 Doom on CGA (4-color and composite/colorburst mode) and EGAby Bisqwit7,101 views
- 10:20 Batch: How to use multiple colors at the same timeby GrellesLicht2813,574 views
- 8:11 To Dther Or Not To Dither?by Joe Collins13,969 views
- 14:58 Creating a MicroBlaze emulator in C++11 (runs Linux!)by Bisqwit7,324 views
- 6:06 Digital Audio 102 - PCM, Bit-Rate, Quantisation, Dithering, Nyquists Sampling Theorum - PB15by Production Bytes9,930 views
- 10:58 Dithering Tutorial psp9 ~ VPby TheVanillapatch1,734 views
- 4:09 Windows 3.1 on 1gb ram!by dquad71,001 views
- 14:47 QuickBASIC realtime SGF replayer. 囲碁: Redrose [1p] vs. Tartrate [PART 3/3]by Bisqwit406 views
- 10:12 Apparent Weight and True Weightby brookscolephysics12,354 views
- 8:10 Video in old graphics modes (CGA, EGA, VGA, textmode)by JendaLinda3,418 views
- 7:40 Photoshop CS4 Optimize and save for webby aussiefaraday4,536 views
- Loading more suggestions...