Text::JavEText::JavE is a Perl module to view and manipulate ascii art and manipulation files created in JavE. | |
Download |
Text::JavE Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- osfameron
- Publisher web site:
- http://search.cpan.org/~osfameron/Crypt-OTP26-0.02/lib/Crypt/OTP26.pm
Text::JavE Tags
Text::JavE Description
Text::JavE is a Perl module to view and manipulate ascii art and manipulation files created in JavE. Text::JavE is a Perl module to view and manipulate ascii art and manipulation files created in JavE.JavE (http://www.jave.de/) is an excellent Ascii art editor and animator written in Java. Unfortunately it doesn't yet have a scripting interface. This module aims to make the work of processing its standard files (.jmov) easy within Perl.SYNOPSIS use Text::JavE; my $j = new Text::JavE; while (my $file=shift @ARGV) { $j->open_jmov($file); for (@{$j->{frames}}) { system "cls"; # on Win32. Try system "clear" on Unix. $_->display; my $time = $_->{msec}; select (undef, undef, undef, $time/1000); } }new()Constructor. Returns a Text::JavE object which can play or otherwise manipulate jmov files.decode($text)Internal method to decode a jmov line containing a compressed ascii frame. There are 2 submethods decode_a and decode_b implementing the various encoding algorithms JavE currently uses.display()Shows the current frame.open_clipart($file)Opens a clipart file in JavE's .jcf format. (As far as I know this isn't officially documented, but a number of sample files are distributed with JavE).open_jmov($file)Opens a file in jmov format. This format is described in detail at http://www.jave.de/player/jmov_specification.htmlA sample Chickenman animation is included in the distribution as t.jmov. More can be found at http://osfameron.perlmonk.org/chickenman/ Other jmov files can be found at http://www.jave.de Requirements: · Perl
Text::JavE Related Software