Files
bin/bytebeat
T
2026-06-11 15:14:00 +02:00

4 lines
274 B
Bash
Executable File

#!/bin/bash
S="$1"
(echo "main(t){for(t=0;;t++)putchar($S);}" | gcc -x c - -lm -o /tmp/bytebeat && /tmp/bytebeat | tee "/tmp/`date`.raw" | mplayer -zoom -x 800 -y 450 -geometry 75%:25% -nosound -nocache -demuxer rawvideo -rawvideo fps=60:w=32:h=18:format=y8 - > /dev/null )