Looking for graphics library for JavaScript that provides selection of different brushes
===

I'm looking for graphics library for JavaScript that provides selection of different brushes. I want to be able to use JavaScript programming to draw curves to a page but need to select the brush (and color) in advance. Most tools I see don't provide for this feature. Thanks for your help.