Inkscape is an open-source program for generating SVG images. Here are a couple of tutorials I wrote after spending some time working with it.