Slow motion sine & cos curve on html Canvas

var y =125 - 120*( Math.sin(( Math.PI/180 ) * angle))
angle is variable in degree

More about Math.sin() with radian or degree as input

Drawing Curves , Graphs , Grids on Canvas

sin()Simple Sine curve
sin()sine curve in slow motion
cos()cos() curve
sin() & cos()Both curves with grid and shadow effect


* indicates required
Subscribe to plus2net

    Post your comments , suggestion , error , requirements etc here .

    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 All rights reserved worldwide Privacy Policy Disclaimer