A Tiny, Rainy Day

Date July 2020
Format Novel
Venue Twitter
Link relevant Twitter thread
Tools Used Perl
License CC-BY

Description

This is a nano version of a NaNoGenMo project I completed for that event's 2018 edition. This Perl version is a complete program that will print the a novel's-worth rain of text in the user's terminal.

perl -e 'for$c(0..74){$l[$c].=rand(9)<1?"DR".int(rand(2))."P":$"for(1..$$)}for$t(0..$$){print(substr($l[$_],$t,1))for(0..74);print$/}'