Posted: 16th Mar 2004 22:33
need the code for use in 2D to draw circles and ovals using sin and cos.old wrinkly
Posted: 17th Mar 2004 0:24
wrong place
Posted: 19th Mar 2004 20:42
+ Code Snippet
sync on
sync rate 60

do
cls

a=wrapvalue(a+5)
mycircle(320,240,50,25,a)

sync
loop

function mycircle(posx,posy,sizex,sizey,value)
   for angle=0 to value
      x=posx+sizex*sin(angle)
      y=posy+sizey*cos(angle)
      dot x,y
   next angle
endfunction
Posted: 20th Mar 2004 21:01
Try reading the forum rules