Adding pictures to mathematical academic papers
In my experience, these kinds of pictures are usually created using the LaTeX package TiKZ. An example collection of what can be done with TiKZ and how is available here: https://texample.net/tikz/examples/