This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ ansi color palette: | |
p: ("#000"; "#800"; "#008"; "#880"; "#008"; "#808"; "#088"; "#ccc") | |
p:p,("#888"; "#f00"; "#00f"; "#0f0"; "#ff0"; "#f0f"; "#00f"; "#fff") | |
ansi:p | |
/ draw boxes of the given size: | |
boxes: {(;ansi; x # ,,/x #' !16)}[8] | |
/ background noise, so you can see the black box :) | |
grays: ("#333"; "#666"; "#999"; "#ccc") | |
noise: (;grays; (w,h) #(w*h) ? #grays) | |
draw: {(noise; boxes)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment