Technical requirements
You can run and download the code of this chapter’s examples at https://tikz.org/chapter-12. On GitHub, you can find it at
https://github.com/PacktPublishing/LaTeX-graphics-with-TikZ/tree/
main/12-drawing-smooth-curves.
We will use the spline
TikZ library, which you can download at https://github.com/stevecheckoway/tikzlibraryspline. Put it into your document folder or into your TeX distribution directory tree, where LaTeX can find it. Furthermore, we will use the hobby
library included in regular LaTeX distributions.