views:

69

answers:

3

I'm looking for an open-source Javascript library that can draw electrical/electronics circuit diagrams in a modern (HTML5) browser - is there such a thing? It should have typical circuit elements like resistors, voltage and current sources, capacitors, etc. Thanks in advance for any help.

+2  A: 

I would recommend you find a library that has drawing capabilities, then write a plug-in for that library that would draw circuit elements where needed. Raphael is a pretty nice and easy-to-use drawing library.

George
+2  A: 

Wikimedia Commons has a set of electrical symbols in SVG format and you can search for svg electronics too. This is a good start to be used with JS drawing libraries.

Felipe Alsacreations
+2  A: 

I don't know of a library that does what you want, but there are three libraries that could be good starts.

They all have the right primitives to start with that you could build off of.

Jay Askren