# Trace lines with math functions

**URL:** https://forum.kirupa.com/t/trace-lines-with-math-functions/52764
**Category:** flash
**Created:** [May 27, 2004, 2:42am UTC](https://forum.kirupa.com/t/trace-lines-with-math-functions/52764 "2004-05-27T02:42:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![voidoid](https://avatars.discourse-cdn.com/v4/letter/v/919ad9/32.png) [@voidoid](https://forum.kirupa.com/u/voidoid)
#### Post date: [May 27, 2004, 2:42am UTC](https://forum.kirupa.com/t/trace-lines-with-math-functions/52764/1 "2004-05-27T02:42:40Z")

</div>

Hey, I’m really new, so this is probably a silly question, but I have some code that makes a bitmap follow a sine wave path across the stage…how could i make the code trace the sine wave, leaving a wavy line on the stage?
