Skip to content
HN On Hacker News ↗

Bonus · A Vortex on a 386

▲ 48 points • 7 comments • by chaostaco • 4w ago • HN discussion ↗

Pangram verdict · v3.3

We believe that this text is a mix of AI and human-written content.

82 %

AI likelihood · overall

AI
16% human-written 84% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 196
PEAK AI % 12% · §1
Analyzed
Sep 17
backend: pangram/v3.3
Segments scanned
1 windows
avg 196 words each
Distribution
16 / 84%
human / AI fraction
Verdict
AI
Pangram v3.3

Article text · 196 words · 1 segments analyzed

Human AI-generated
§1 Human · 12%

While making a web project about my old MS-DOS graphics days, I happened to see OpenAI's announcement about a solution to the smoothness problem from Navier-Stokes, and various visualizations of it (e.g. this one). So I wondered if I could make a nice anachronistic 386 demo of this visualization, and ended up with two solutions. The palette cycling one draws the screen once and then flips through colors to animate it, while the particle one is actually animating the particles in real time. When I saw their binaries were so small, I went a little further and optimized them both to be sub-1,024 bytes. For each I have a JavaScript version that lets you play with settings and go way beyond what 386 could do, and then real 386 versions running in DOSBox. The JS and ASM source code are available at the bottom. Full disclaimer, this effort was AI assisted. the 256 DAC registers: 2 hues × 4 depths × 32 steps streamlines 120 particles 200 true-color trails instead of palette fades 640×480 uncapped frame rate The defaults here are meant to stay inside what a fast 386 with a VGA card could plausibly do.