Sign inSign up

defnotgustavom/asciidonut

By defnotgustavom

•Updated over 3 years ago

Image size: 18KiB. 3D ascii donut wiggling on your terminal.

Image
0

7.6K

defnotgustavom/asciidonut repository overview

  • Running:

printf (desiredcolorcodehere); docker run -it --rm --log-driver none --net none --read-only defnotgustavom/asciidonut

or

tput setaf (color code) setab (color code) (effect) (effect); docker run -it --rm --log-driver none --net none --read-only defnotgustavom/asciidonut; tput reset

Printf color codes;

printf '\033[31m' = orange

printf '\033[32m' = "green puke"

printf '\033[33m' = yellow/gold

printf '\033[34m' = aqua blue

printf '\033[35m' = pink

printf '\033[36m' = greenish blue

printf '\033[37m' = default white

printf '\033[1;30m' = blind dark blue

printf '\033[1;31m' = orange orange

printf '\033[1;32m' = almost lemon green

printf '\033[1;33m' = yellow omelette

printf '\033[1;34m' = extra aqua blue

printf '\033[1;35m' = extra pink

printf '\033[1;36m' = boring green

printf '\033[1;37m' = shiny default white

tput effects:

bold - Start bold text

smul - Start underlined text

rmul - End underlined text

rev - Start reverse video

blink - Start blinking text

invis - Start invisible text

smso - Start “standout” mode

rmso - End “standout” mode

sgr0 - Turn off all attributes

tput color codes: (setaf = foreground. setab= background)

0 - Black

1 - Red

2 - Green

3 - Yellow

4 - Blue

5 - Magenta

6 - Cyan

7 - White

8 - Not used

9 - Reset to default color

...

22 - MATRIX GREEN

Example:

tput setaf 5 bold; docker run -it --rm --log-driver none --net none --read-only defnotgustavom/asciidonut; tput reset

for a smexy strawberry flavoured donut

Tag summary

Content type

Image

Digest

sha256:5cbb102d9…

Size

17.3 kB

Last updated

over 3 years ago

docker pull defnotgustavom/asciidonut