diff --git a/example.sh b/example.sh new file mode 100644 index 0000000..45b80fc --- /dev/null +++ b/example.sh @@ -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 +