I wrote a little Metapost macro that draws a smiley. I'd like to place another instance next to the first, maybe a little larger (size is a parameter). How can I place multiple separate instances?
Here's what I have so far:
prologues := 3; outputtemplate := "%j-%c.png"; outputformat := "png"; def face(expr x) = begingroup u := 8bp; p := 3u; d := x*u; r := 0.3*d; pickup pencircle scaled p; fill fullcircle scaled d withcolor black; draw fullcircle scaled d withcolor white; drawdot (0,r) rotated -35 withcolor white; drawdot (0,r) rotated 35 withcolor white; draw (0,r) rotated 110 .. (0,r) rotated 180 .. (0,r) rotated -110 withcolor white; endgroup enddef; beginfig(1) face(50) endfig; end