Check it out. This is a open-source SVG-Editor. You can create 2D shapes, save images,

http://www.pravinasar.com/draw/svg/