Hacker News new | past | comments | ask | show | jobs | submit login

Also in color:

    docker run --rm -it msoap/ascii-art sh -c 'ls /usr/local/share/endoh1/'
    docker run --rm -it msoap/ascii-art sh -c 'endoh1_color < /usr/local/share/endoh1/tanada.txt'
    docker run --rm -it msoap/ascii-art sh -c 'endoh1_color < /usr/local/share/endoh1/column.txt'



  wget http://www.ioccc.org/2012/endoh1/endoh1_color.c
  cc -DG=1 -DP=4 -DV=8 endoh1_color.c -lm # Parameters — factors of gravity, pressure & viscosity
  ./a.out < endoh1_color.c


Got it working on Mac with this, thanks!

What's amazing to me is that the source code is actually formatted to say "Fluid color" which is why piping the source into the generated binary (as in the 2nd command above) generates that image. Incredible.


The video also has color if you watch all of it. And a nice bit of water music.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: