Files
ioccc/2024/tmarrec

Award presentation:

Watch the Our Favorite Universe YouTube show for this entry:

IOCCC28 - 2024/tmarrec - Prize in cyclonic coding

To build:

    make all

To use:

    clear; ./prog

Try:

    ./try.sh

Alternate code:

The original submitted entry was flickering when executed. This alternate code implements the original level of flickering.

The original submitted entry was flickering when executed. We added code to stop that. After adding this to the compile line:

    -DQ='fputs("\033[H",stdout);'

We changed the source as follows:

    make diff_alt_prog

Alternate build:

    make alt

Alternate use:

    ./prog.alt

Judges' remarks:

This prize in cyclonic coding will certainly twist your perspective on C code.

This is not your garden variety tempest in a teapot. It's a tornado in a window!

Author's remarks:

3D fluid simulation

    advection=semi-lagrangian scheme
    projection=pressure solver with neumann boundary condition
    linear solver=gauss-seidel relaxation
    rendering=ray marching