Artificial intelligent assistant

Equation of a star About three years back I read an article in wikipedia about equation(it was more like how to draw a curve that remembled a star) of a star. Though I dont remember vividly in that article there was a GIF image that showed how a star was drawn mathematically inside a big circle that had a small circle and the two circles were connected by a straight line. When the small circle was revolved inside the big circle the result was a smooth star(no pointed ends). My problem is that I cannot find anything in the internet about equation of a star or drawing a star mathematically or anything at all of that sort. May be I dont know the exact term for searching. I need this for an android application of mine where I am trying to generate a star programatically. Any hints, links and thoughts are highly appreciated.

You seem to refer to a hypotrochoid, the thing one can draw with a Spirograph toy. It can be drawn with sine and cosine, see the Wikipedia article.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 9a0d407de0f48686c4966f06c41bcad1