set x index to 0 instead 1

This commit is contained in:
Marcus 2024-01-02 02:49:27 +01:00
parent a4cb8e85c7
commit e5121d7cf1

View file

@ -151,9 +151,9 @@ test -z $W && W=640
test -z $H && H=480
test -z $COLOR && COLOR="666999"
echo "drawing $W x $H - $COLOR" >&2
for x in $(seq 1 $W)
for x in $(seq 0 $W)
do
for y in $(seq 1 $H)
for y in $(seq 0 $H)
do
echo "PX $x $y $COLOR"
done