  We study generating functions of certain shapes of planar polygons arising
from homological mirror symmetry of elliptic curves. We express these
generating functions in terms of rational functions of the Jacobi theta
function and Zwegers' mock theta function and determine their (mock) Jacobi
properties. We also analyze their special values and singularities, which are
of geometric interest as well.
