CitronJS is a versatile yet customizable way to use Javascript to draw shapes. It uses simple object constructors to define the shape/object to your parameters. Note: You might have to play around with it a bit. A nice grid background would immensely help while defining parameters. You can find templates for these at https://github.com/CitronJS/CitronJS/tree/master/templates



