
Edit and compile if you like:
% Author: Urs Zellweger (urs@zellweger.li)\documentclass[11pt]{article}\usepackage{tikz}\usepackage[active,tightpage]{preview}\PreviewEnvironment{tikzpicture}\setlength\PreviewBorder{5pt}%\usepackage{pgf}\usepackage{pgffor}\usepgfmodule{shapes}\usepgfmodule{plot}\usetikzlibrary{decorations}\usetikzlibrary{arrows}\usetikzlibrary{snakes}\newcommand{\physicalpendulum}{\pgfpathmoveto{\pgfpoint{0cm}{2cm}}\pgfpathcurveto{\pgfpoint{.2cm}{2cm}}{\pgfpoint{.2cm}{2cm}}{\pgfpoint{1cm}{1cm}}\pgfpathcurveto{\pgfpoint{1.75cm}{0cm}}{\pgfpoint{1.8cm}{0cm}}{\pgfpoint{2cm}{-2cm}}\pgfpathcurveto{\pgfpoint{2.2cm}{-4cm}}{\pgfpoint{2.3cm}{-4.2cm}}{\pgfpoint{2.5cm}{-5cm}}\pgfpathcurveto{\pgfpoint{2.7cm}{-5.8cm}}{\pgfpoint{3cm}{-6cm}}{\pgfpoint{3cm}{-7cm}}\pgfpathcurveto{\pgfpoint{3cm}{-8cm}}{\pgfpoint{2.25cm}{-8.75cm}}{\pgfpoint{2cm}{-9cm}}\pgfpathcurveto{\pgfpoint{1.75cm}{-9.25cm}}{\pgfpoint{1cm}{-10cm}}{\pgfpoint{0cm}{-10cm}}\pgfpathcurveto{\pgfpoint{-2cm}{-10cm}}{\pgfpoint{-3cm}{-8cm}}{\pgfpoint{-3cm}{-7cm}}\pgfpathcurveto{\pgfpoint{-3cm}{-3cm}}{\pgfpoint{-1cm}{-2cm}}{\pgfpoint{-1cm}{-1cm}}\pgfpathcurveto{\pgfpoint{-1cm}{0cm}}{\pgfpoint{-.5cm}{2cm}}{\pgfpoint{0cm}{2cm}}\pgfusepath{fill,stroke}}\begin{document}\begin{center}\begin{tikzpicture}[scale=.48]\color{black!20!white}\physicalpendulum\draw[color=red, dashed] (0,3)--(0,-11);
Click to download: physical-pendulum.tex • physical-pendulum.pdf
Open in Overleaf: physical-pendulum.tex