Atom visualization using Snap.SVG and Coffee-script