Interactive Fluid Dynamics Rendered In ASCII
Web designer Nick Kwiatek’s website features a playful interactive home page. Move the mouse around to see virtual fluid forms appear, press the left mouse button for a burst of movement.
a certain ‘drawing machine’ that interprets an ASCII byte stream as drawing commands..
using 1459 bytes from the Bliss version of Lincoln’s Gettysburg address as input..
executing one 7-bit byte (ignoring the highest bit) on each step..
where each bit maps to a specific drawing command, a la ‘turtle’ graphics..
finding 7! (5040) possible mappings between bit positions and drawing commands..
executing the full 1459 byte ‘script’ for all such mappings in natural permutation order..
normalizing the drawing scale to fit occupied extent within view window..