The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

woodlice.pl - Perl script for running woodlouse simulator

SYNOPSIS

  perl woodlice.pl 
    [--foreground blue]
    [--background gray]
    [--horiz 400] 
    [--vert 400] 
    [--image bacteria] 
    [--speed 0.006]
    [--refresh 50]

ABSTRACT

Woodlouse simulation script

DESCRIPTION

Invokes a woodlouse simulation demo using Tk::Taxis and Tk::Taxis::Critter. Press F1 whilst executing for help. The foreground colour scheme of the simulator, the background colouring, horiz(ontal) and vert(ical) size of the arena, the critter images used, and the speed and minimum refresh rate (milliseconds between refreshes) can be configured from the command line with the appropriate switches.

The simulation allows you to run up to fifty woodlouse critters in a light/dark choice chamber, print results to a log file, simulate woodlice's preference for the dark, damp or both. It was designed (as was the whole distribution) to teach school-children about the preference of woodlice for damp dark, without having to collect two thousand woodlice from the school grounds. I hope some biologists or teachers out there may also find it saves getting your hands dirty rooting around under rocks.

SEE ALSO

Tk::Taxis

Tk::Taxis::Critter

AUTHOR

Steve Cook, <steve@steve.gb.com>

COPYRIGHT AND LICENSE

Copyright 2005 by Steve Cook

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.