Primitives Demonstration and Testing
This script demonstrates the capabilities of the Graphics::Framebuffer module
perl threaded_primitives.pl [--dev=device number] [--x=X emulated resolution] [--y=Y emulated resolution] [--pixel=pixel size] [--noaccel]
Examples:
perl primitives.pl --dev=1 perl primitives.pl --pixel=2
device number
By default, it uses "/dev/fb0", but you can tell it to use any framebuffer device number. Only the number 0 - 31 is needed here.
pixel size
This tells the module to draw with larger pixels (larger means slower)
Turns off C acceleration. Uses only the Perl routines.
Any benchmarking numbers are written to STDERR. Animations have benchmarking.
Place any other animated GIFs in the "examples/images/" directory and it will include it in the testing
"examples/images/"
Richard Kelsch <rich@rk-internet.com>
Copyright 2003-2019 Richard Kelsch All Rights Reserved
GNU Public License Version 3.0
* See the "LICENSE" file in the distribution for this license.
This program must always be included as part of the Graphics::Framebuffer package.
To install Graphics::Framebuffer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Graphics::Framebuffer
CPAN shell
perl -MCPAN -e shell install Graphics::Framebuffer
For more information on module installation, please visit the detailed CPAN module installation guide.