| Term-Caca documentation | view source | Contained in the Term-Caca distribution. |
Term::Caca - perl interface for libcaca (Colour AsCii Art library)
Usage:
use Term::Caca; my $caca = Term::Caca->init(); $caca->putstr(5, 5, "pwn3d"); $caca->refresh(); sleep 3;
This method instantiates a Term::Caca object. (Note that init() is an alias for new() and that they may be used interchangeably.)
Set the amount of time in milliseconds between frames to establish a constant frame rate
Draws a line from ($x1,$y2) to ($x2,$y2) using the character $char.
Draws a line from ($x1,$y2) to ($x2,$y2) using ascii art.
Draws a circle centered at ($x,$y) with a radius of $r using the character $char.
Draws an ellipse centered at ($x,$y) with an x-axis radius of $radius_x and a y-radius of $radius_y using the character $char.
Draws an ellipse centered at ($x,$y) with an x-axis radius of $radius_x and a y-radius of $radius_y using ascii art.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar
22 rue de Plaisance, 75014 Paris, France
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
John Beppu <beppu@cpan.org>
| Term-Caca documentation | view source | Contained in the Term-Caca distribution. |