PyFeyn examplesHere's some sample output from pyfeyn, with the source code that produces it: Drell-Yan with QCD vertex correctionVery little code is needed to produce simple diagrams like this one. Note that the labels on the lines are produced by LaTeX and use the predefined names in the hepnames LaTeX package if it's available. This code produces (click to enlarge): (PDF version)Curves and blobsNote that the curly lines automatically match themselves to the outlines of the interaction blobs! I hope this isn't meant to be a real process... This code produces (click to enlarge): (PDF version)B meson decayThis is a colour-suppressed penguin decay diagram. We'd like to improve the quality of the blob rendering. This code produces (click to enlarge): (PDF version)Higgs loopA top loop contribution to the Higgs boson mass — the canonical "why we need SUSY" diagram. The main point is that it's pretty simple and the code is correspondingly short. This code produces (click to enlarge): (PDF version)Multi-linesMulti-lines like these aren't finished yet, but with code like this you can at least get most of the right effect. This code produces (click to enlarge): (PDF version)Graviton and SUSY linesNo, we don't know why there are graviton and SUSY lines available by default. Oh, yes we do: they were fun to write! This code produces (click to enlarge): (PDF version)Silly effectsWhere PyFeyn ends, PyX begins. You can take the output of PyFeyn and use it to make silly effects like these transparency-based rotation and translation "blurs". This code produces (click to enlarge): (PDF version) |