Create example.sh

Add a simple example
This commit is contained in:
Godzil 2015-12-17 11:32:02 +00:00
parent ca4f990ec8
commit a1ff1f48ca

14
example.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/sh
# Include the library
. bashfblib.sh
# Usage: ./example.sh min max r g b
for y in `seq $1 $2`; do
for x in `seq $1 $2`; do
drawpixel $x $y $3 $4 $5
done
done