Pejman Moghadam / Scripts

Bash script - Helicopter animation

Public Domain


#!/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

BY: Pejman Moghadam
TAG: helicopter, animation, bash
DATE: 2013-12-24 12:59:58


Pejman Moghadam / Scripts [ TXT ]