Monday, January 18, 2016

IT (20): Codes for animation loops..........

#ASCII-art Box and Comment Drawing
sudo apt-get install boxes
echo "This is a test" | boxes
echo -e "\n\tSeema \n\Autumn girl" | boxes -d bird

#Install ASCIIQuarium
cd /tmp
wget http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz
tar -zxvf asciiquarium.tar.gz
cd asciiquarium_1.0/
sudo cp asciiquarium /usr/local/bin
sudo chmod 0755 /usr/local/bin/asciiquarium

/usr/local/bin/asciiquarium
perl /usr/local/bin/asciiquarium
#Christmas tree making using Perl module called Acme::POE::Tree
perl -MCPAN -e 'install Acme::POE::Tree'
perl -MAcme::POE::Tree -e 'Acme::POE::Tree->new()->run()'

#!/usr/bin/perl
#Customized tree.pl
use Acme::POE::Tree;
my $tree = Acme::POE::Tree->new(
{
  star_delay => 1.5,  # shimmer star every 1.5 sec
  light_delay => 2,   # twinkle lights every 2 sec
  run_for => 10,      # automatically exit after 10 sec
}
);

$tree->run();
#Penguin swarm
sudo apt-get install xpenguins
xpenguins
xpenguins -l

xpenguins --theme "Big Penguins" --theme "Turtles"

#Snowfall
sudo apt-get install xsnow
xsnow
xsnow -bg blue -sc snow
xsnow -snowflakes 10000 -delay 0
xsnow -notrees -nosanta

banner (dotted graphics)
man banner
 banner Happy

No comments:

Post a Comment