Stylized math like rendering?
You might want to check matplotlib-cpp. You'll find a &quot;funny-looking xkcd-styled example&quot; in the README.
I also saw xkcd related entries on matplotlib's Python documentation. So, it should be available in Python too. However, I did not use these libraries myself. I just stumbled upon matplotlib-cpp while I was looking for a plotting library for C++.