Skip to content

dalakatt/awk-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ran into an issue (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)
    • (!) 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:

About

old-skool demo in awk

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Awk 96.3%
  • Shell 3.7%