So, in the field of particle physics there are a kind of diagrams called Feynman diagrams. Please search "Feynman diagrams" in google to see how they are if you don't know them.
I am interested in drawing Feynman diagrams in inkscape, which will require, for general purposes, a set of basic "patterned curves". My present question has two purposes:
- There are some "patterned curves" that I really do not know how to create in inkscape; these are presented and indicated below.
- I am hoping this question will serve as a reference for any one else interested in drawing Feynman diagrams with Inkcape.
The following is a list of the curves (and respective "names") used when creating Feynman diagrams, with a description of how I create it. Please feel free to modify any instruction you consider confusing (I have very few background on Inkscape), or you think there is a better way to do it:
1.- Straight lines:
- Fermionic line:
Select "Bezier Curve". Holding down "ctrl", then "right-click" and trace a horizontal solid line. In order to add arrow in the middle, select the line and then the option "Edit paths by nodes"; double click in the middle of the line in order to add a node just there. Then go to "Object" and select "Fill and Stroke...". In the "Stroke style" tab, select a middle arrow in "Markers"
- Scalar line:
Create a fermionic line. Then in the "Stroke style" tab, select a dashed pattern in the "Dashes" option.
- Gluon line:
This line I build according to the method provided by the user "Beenwu" (here) on YouTube. Go to "Extensions", then "Render", then "Parametric Curves...". Enter the following values:
- Start t-value: -1,0
- End t-value: 6,0
- Multiply t-range by 2*pi: No
- X-value of rectangle's left: -1,0
- X-value of rectangle's right: 1,0
- Y-value of rectangle's bottom: -1,0
- Y-value of rectangle's top: 1,0
- Samples: 80
- Isotropic scaling: No
- X-funtion: t*pi+cos(3*pi*t)
- Y-funtion: sin(3*pi*t)
- Remove rectangles: Yes
- Draw Axes: No
- Live preview: No
With the tool "Create rectangles and squares" create a rectangle, and then click on "Apply".
- Vector line:
Analogous to the gluon case, only this time you have to enter the following parameters:
- Start t-value: 0,0
- End t-value: 1,0
- Multiply t-range by 2*pi: Yes
- X-value of rectangle's left: -1,0
- X-value of rectangle's right: 1,0
- Y-value of rectangle's bottom: -1,0
- Y-value of rectangle's top: 1,0
- Samples: 40
- Isotropic scaling: No
- X-funtion: t
- Y-funtion: sin(15*t)
- Remove rectangles: Yes
- Draw Axes: No
- Live preview: No
2.- Curved lines
I would like to draw also the four above lines but "curved"; for instance, something like this:
I can use the tool "Bezier curve" to draw fermionic and scalar curved lines, but I do not know how to do it for gluon and vector curved lines.
3.- Loops: the same four above lines but in the form of a loop, i.e.
I draw the fermionic and scalar loops with the tool "Create circles, ellipses and arcs", but not shure how to add those two arrows like in the above image.
and
I do not know how to draw those gluon and vector loops.