# Sine Curves

**URL:** <https://forum.kirupa.com/t/sine-curves/175989>\
**Category:** flash\
**Created:** [January 19, 2006, 1:40pm UTC](https://forum.kirupa.com/t/sine-curves/175989 "2006-01-19T13:40:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ice987](https://avatars.discourse-cdn.com/v4/letter/i/779978/32.png) [@ice987](https://forum.kirupa.com/u/ice987)\
**Post date:** [January 19, 2006, 1:40pm UTC](https://forum.kirupa.com/t/sine-curves/175989/1 "2006-01-19T13:40:21Z")

</div>

Hi

I want to be able to input the start screen co-ordinates and the destination co-ordinates and plot a sine curve between them.

So for example. I may wish to start at 100,100 on the screen and end at 150,150. I want to plot a sine curve between these 2 points.

The formula I use to plot a sine curve is

x=x+1;  
y=y-sin(degrees)\*radius;

The question I have is is it possible to create a formula which plots a sine curve which hits 2 given points.
