HackerTubewatch
Surprise me
Frame from I wrote a Raytracer for DOS, 16 VGA colors Plays via YouTube's privacy-enhanced embed

I wrote a Raytracer for DOS, 16 VGA colors

3 videos recommended on HN
YouTube
2 HN users recommended this tutorial2 months2019–2021 score 3
Years with an HN recommendation, 2007–2026

HN fans praise Bisqwit as a favorite programming YouTuber and this video as an excellent look at dithering.

Bisqwit writes a raytracer from scratch in C++ for DOS, rendering in the 16-color VGA palette at 640x480. The video also covers color quantization and ordered dithering.

“Bisqwit's discussion of dithering is outstanding” (HN, 2021)

2 strong recommendations · 1 citations · Tutorials · intermediate

3 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@petercooper Jan 2019 Strongly recommends
on HN thread Let’s Create a Speech Synthesizer in C++17 [video]
Agreed. My favourite programming YouTuber by a long stretch. If anyone is unfamiliar with him and wants to watch some of the "classics" I'd recommend these: His "cracking videogame passwords" series: [link] Creating a Doom-style 3D engine in C: [link] Creating a Rogue-like game in C++11: [link] Creating a PIC16 emulator and NES music player: [link] Creating a NES emulator: [link] Creating a DOS VGA raytracer: [this video]
Bisqwit builds a raytracer for DOS with 16 VGA colors
@pdkl95 Jan 2021 Strongly recommends
on HN thread Ditherpunk: The article I wish I had about monochrome image dithering
Read more
Bisqwit's discussion of dithering is outstanding . He presents a very impressive algorithm for arbitrary-palette dithering that is animation safe . > This paper introduces a patent-free positional (ordered) dithering algorithm that is applicable for arbitrary palettes. Such dithering algorithm can be used to change truecolor animations into paletted ones, while maximally avoiding unintended jitter arising from dithering. He demonstrates it "live coding" style in this[1] video where he writes a demo in 256 colors of a "starfield" animation with color blending and Gaussian blur style bloom. The first animation at 6:33 using traditional ordered dithering has the usual annoying artifacts. The animation at 13:00 using an optimal palette and his "gamma-aware Knoll-Yliluom positional dithering" changed my understanding of what was possible with a 256 color palette. The animation even looks decent[2] dithered all the way down to a 16 color palette! If that wasn't crazy enough, he also "live codes" a raytracer[3] in DOS that "renders in 16-color VGA palette at 640x480 resolution." [1] [link] [2] [link] [3] [this video]
Live-coded DOS raytracer in 16-color VGA from a dithering expert

Citations, criticism and jokes

@themodelplumber Feb 2019 Cites it
on HN thread Show HN: E3Dos – A 3D engine I wrote when I was a teen
Wow that's really cool. I liked the structure you added to the Martian landscape. It was funny to wake up and see this on HN, as I was watching something DOS and 3D-related on Bisqwit's channel last night. [this video]
DOS and 3D content on Bisqwit's channel

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close