shinyblink / sled

Satanic/Sexy/Stupid/Silly/Shiny LED matrix controller
https://shinyblink.github.io/sled/
ISC License
121 stars 25 forks source link

Autoterminal: Add 1x2px font microfont #102

Closed basxto closed 4 years ago

basxto commented 4 years ago

I had an interesting idea last night. A 1x2 font would enable applications that draw half blocks to actually draw pixels. It’s not useful in scripts yet since fish does not send arguments to draw if there is no /next, but one can use when executing commands via fish.

chafa:

mpv:

basxto commented 4 years ago

I slowly start to understand FISh. You can test this with one of those:

# youtube video
echo -e "/then autoterminal script R font microfont\n/next"  > sled.fish
# header image from ccc-ffm.de
echo -e "/then autoterminal script F font microfont\n/next"  > sled.fish
# first naruto episode from crunchyroll (it’s 4:3)
echo -e "/then autoterminal script N font microfont\n/next"  > sled.fish
vifino commented 4 years ago

That's pretty neat! Not sure about all those scripts though.

vifino commented 4 years ago

Next PR wish: Convert gfx_autoterminal to mod_autoterminal (make it a mod plugin, see mod_farbherd)