User Tools

Site Tools


bash:helicopter_animation

BASH - Helicopter Animation

#!/bin/bash
c1()
{
    echo "           _^____      "
    echo "   L    __/    []\\     "
    echo "  LOL===_         \\    "
    echo "   L     \\_________]   "
    echo "           I   I       "
    echo "          -------/     "
    sleep 0.1
}
c2()
{
    echo "           _^____      "
    echo "  L L   __/    []\\     "
    echo "   O====_         \\    "
    echo "  L L    \\_________]   "
    echo "           I   I       "
    echo "          -------/     "
    sleep 0.1
}
echo -e "\n\n\n\n\n\n\n\n\n\033[8F\033[s"
while [ 1 = 1 ]
do  echo -e "\033[u   ROFL:ROFL:ROFL:ROFL " ; c1
    echo -e "\033[u     LOL:LOL:LOL:LOL   " ; c2
    echo -e "\033[u        ROFL:ROFL      " ; c1
    echo -e "\033[u           LOL         " ; c2
    echo -e "\033[u        ROFL:ROFL      " ; c1
    echo -e "\033[u     LOL:LOL:LOL:LOL   " ; c2
    echo -e "\033[u   ROFL:ROFL:ROFL:ROFL " ; c1
    echo -e "\033[u     LOL:LOL:LOL:LOL   " ; c2
    echo -e "\033[u        ROFL:ROFL      " ; c1
    echo -e "\033[u           LOL         " ; c2
    echo -e "\033[u        ROFL:ROFL      " ; c1
    echo -e "\033[u     LOL:LOL:LOL:LOL   " ; c2
done
bash/helicopter_animation.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki