• Stars
    star
    174
  • Rank 219,104 (Top 5 %)
  • Language Awk
  • Created over 2 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

old-skool demo in awk

Old Skool demo in AWK

Since I have been making all kinds of different graphical things in awk, I thought it would be time for me to finally try and make a real old-skool demo. So I got some of my better looking effects, made sure they worked in all major awk releases (gawk, mawk and nawk), slapped some timing code on it and voila, here's my first demo!

awk-demo-sm.mp4

(Better quality version at: https://youtu.be/j5aEjfBSQRI)

Code that I've done before and reused after serious modifications

The startfield and metaballs effect were not published previously and made especially for this demo

Dependencies:

  • A relatively recent and fast enough CPU (duh!)
  • A terminal with good UTF-8 and true-color/24-bit ANSI support
    • Gnome Terminal (some other LibVTE based terminals might also work, like Termit)
    • xterm
    • mlterm should have a bugfix on the way (arakiken/mlterm#39)
  • A recent version of a modern awk (tested with):
    • mawk (1.3.3 and 1.3.4)
    • gawk (all versions from 4.1.4 till 5.1.1)
    • nawk (20121220)
    • goawk (v1.18.0)
    • (!) busybox awk technically works, but the performance I got was horrible
  • If you want music to accompany the visual effects, one of the following:
    • ffplay (part of ffmpeg)
    • mpg123
    • cvlc (part of vlc)
    • mpv
    • mplayer

Credits: