this is my code snipped I am experimenting with:
\documentclass{article}
\usepackage{lipsum}
\usepackage{graphicx,wrapfig}
\begin{document}
% \parshape <num lines> <indent> <width> ...
\parshape 12 0pt \textwidth
0pt \dimexpr0.5\textwidth+4.0\baselineskip\relax
0pt \dimexpr0.5\textwidth+3.25\baselineskip\relax
0pt \dimexpr0.5\textwidth+1.75\baselineskip\relax
0pt \dimexpr0.5\textwidth+1\baselineskip\relax
0pt \dimexpr0.5\textwidth+2.0\baselineskip\relax
0pt \dimexpr0.5\textwidth+2.75\baselineskip\relax
0pt \dimexpr0.5\textwidth+3.5\baselineskip\relax
0pt \dimexpr0.5\textwidth+4.25\baselineskip\relax
0pt \dimexpr0.5\textwidth+5.0\baselineskip\relax
0pt \dimexpr0.5\textwidth+6.75\baselineskip\relax
0pt \textwidth
\noindent\lipsum[1]
\end{document}
The original code is from @Werner (Advanced Wrapfig) (all credits to him). I would like to "mirror" the shape of the text, i.e. the shape should be on the left-hand side, but I don't understand how to change the above code. Can anyone from the community help me please? Thanks in advance!

\dimeval{\textwidth-2em}, which is simpler and more in line with the standard LaTeX syntax. – egreg Dec 11 '23 at 10:30\dimexpr. So IMHO keeping it for the answer, but using an easier to understand calculation could help. And it avoids comments: "This does not work, because\dimevalis undefined." ;-) Maybe I'll extend the answer later. – cabohah Dec 11 '23 at 11:28