Generates sine and cosine analogs from arbitrary figures.