HackerTube.dev

ASCII fluid dynamics -- IOCCC2012 endoh1.c

Yusuke Endoh · 1.7M views · 2013-11-24 · 3:09

Open on YouTube ↗

If playback is restricted in your region, try opening the original video. Use Mark watched to add it to your marked videos.

Overview

A 3-minute demo of a tiny IOCCC 2012 winning C program that simulates fluid dynamics in an 80x25 terminal, using any text (including its own source) as input. The video shows the simulation running to Handel's Water Music.

On Hacker News

Commenters repeatedly point to it as an astonishing, beautiful piece of obfuscated-C code golf.

Recommended by 3 HN people across 3 months · HN mentions 2018–2025

Topics

Search by tags

What people said

6502nerdface · 2023-02 · Strong recommendation

My favorite 2D liquid simulator is this IOCCC2012 submission [1]... simply astonishing. That is the source file shown at the beginning of the video... it compiles without warnings, runs a full blown fluid dynamics sim with surface tension and everything, can take itself as its own input... truly a work of art. [1] [VIDEO]

Read the original HN comment ↗
daptaq · 2022-10 · Strong recommendation

This was written by Yusuke Endoh, who also wrote this submission to the IOCCC that I remember being arguably more astonished when I saw it for the first time: [VIDEO] (ASCII fluid dynamics).

Read the original HN comment ↗
yung_steezy · 2022-05 · Strong recommendation

Yusuke Endoh is a god amongst men. His C program which creates an approximation of fluid dynamics from any text input is insane - [VIDEO]

Read the original HN comment ↗

Sources

Video by Yusuke Endoh, played through YouTube.

Data and selection notes

HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.

HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.

Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.

Selection checks
  • SaaS & AI candidates: Topic keywords do not match
  • Editor-approved picks: Editorial review is required

Rule matches identify candidates. They do not guarantee video quality or financial results.

About the library and its sources