X

Feyn: Draw Feynman Diagrams with SVG

Feyn is a jQuery plugin to help you draw Feynman diagrams with Scalable Vector Graphics (SVG). If you are not familiar with them, Feynman, or Feyn, diagrams are pictorial representations of mathematical equations.

Some of the features of this plugin include:

  • Automatic generation of clean SVG source code
  • Easy to use, easy to make fine adjustments
  • Predefined propagator styles, vertex types, and symbols
  • Support for typesetting labels and including external graphics
  • Lightweight, cross-browser, and fully documented

The plugin works will all modern browsers, including Firefox 4+, Chrome 7+, Opera 11.6+, Safari 5.1+ and Internet Explorer 9+.

This plugin uses JavaScript’s liberal object notation, whose simplicity and extensibility allow it to be both lightweight and powerful. You need a good understanding of SVG markup language to use this tool most effectively.

If you are wondering how the code works, the demo is a good place to start, but this plugin does not come with incredibly detailed instructions for use.