Well like the batman equations and equations for heart, I once saw a site that draws equation for whatever text you type....but now I can't find it. Does anybody know such a site? Also a general explanation how do they do it...I think they have to write equations for all characters from $a$ to $z$ manually then do some coordinate shift etc.
PS: If somebody has some matlab code to help then it will be awesome.
This can generally solved as an interpolation problem. Find points on the outline of the "image" you want to draw with a formula and use for example piecewise interpolation. Then you will get a formula that approximates the surface of your image.