72 circle target black white

Uploader
Created
Description
Believe it or not, this image was not created with inkscape but by the following bash script which I wrote.

#!/bin/sh
echo "<?xml version=\"1.0\" standalone=\"no\"?>"
echo "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\""
echo "\"www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">"
echo "<svg width=\"720\" height=\"720\" version=\"1.1\""
echo "xmlns=\"www.w3.org/2000/svg\">"

#define colors
pal[0]=#000000
pal[1]=#FFFFFF

((r=360))
((fill=0))
while (( r > 0 ))
do
echo "<circle cx=\"360\" cy=\"360\" r=\"$r\" fill=\"${pal[$fill]}\"/>"
((r=r-5))
((fill=($fill+1)%2))
done

echo "</svg>"
exit
Tags
, , , ,
Viewed by
2416 People
Favorited by
2 People
Filesize
9179 bytes
  • SVG
  • Click the input box and copy the text to use the SVG file wherever you would like. The copy keyboard shortcut is Control-C (Windows) or Command-C (Mac).
  • PNG
  • Enter desired resolution here and click out of field or press [Enter] or click on 'PNG' button to view bitmap. Default resolution is 800 pixels. The copy keyboard shortcut is Control-C (Windows) or Command-C (Mac).
  • PDF
  • Click the input box and copy the text to use the PDF file wherever you would like. The copy keyboard shortcut is Control-C (Windows) or Command-C (Mac).

please login to leave a comment