example.sh 191 B

123456789101112131415
  1. #!/bin/sh
  2. # Include the library
  3. . bashfblib.sh
  4. # Usage: ./example.sh min max r g b
  5. for y in `seq $1 $2`; do
  6. for x in `seq $1 $2`; do
  7. drawpixel $x $y $3 $4 $5
  8. done
  9. done
  10. fblib_cleanup