Who makes it¶
feynjs exists so that a Feynman diagram is as easy to write and share as a sentence, wherever physicists write: in a web page, a notebook, a note or a paper.

I'm Jason Oliver, a particle physicist at Adelaide University on the ATLAS experiment at CERN. I work on searches for new particles, on the Higgs boson and on tracking, and on how a collaboration shares what it knows: ATLAS's web pages, and a search built on OpenSearch for people and AI assistants alike.

feynjs is part of hepjs, JavaScript tools for high-energy physics. Ideas, bug reports and diagrams that come out wrong are welcome on GitHub; see Contributing.
Why feynjs exists¶
Particle physics is done by thousands of people, in collaborations that span continents and decades. What lets them work together is a shared language, and Feynman diagrams are a large part of it: how physicists think about a process, explain it to each other, and teach it to the next generation.
Yet drawing one is still a craft of the printed page. It means TeX, a compile step and coordinates placed by hand, and the result is locked inside a PDF. Meanwhile the field's knowledge has moved to the web: documentation, notes, notebooks, talks, and, with arXiv's move to HTML, the papers themselves. A diagram that cannot go where the writing goes is one that is not shared.
feynjs makes a Feynman diagram as easy to write as a sentence, wherever physicists write:
- in the words physicists already use: TikZ-Feynman's syntax, MadGraph's process lines, the names of particles;
- laid out as published diagrams are drawn, with no coordinates, so a diagram looks right the first time;
- the same everywhere: in a web page, a Markdown site, a notebook, a note or a LaTeX paper.