#I made a CLI that plays GIFs

6 messages · Page 1 of 1 (latest)

fossil forge
stuck rapids
#

How did you implement that the individual pixels of the gif are shown in the console?

fossil forge
#

Since the cells in the terminal all have 1:2 ratio I used Upper Half Block “▀” (U+2580)

#

And set the background and foreground accordingly

#

This wasn’t enough for transparency so I also used the Bottom Half Block and space