Does this demo used Sinus wave?

BlitzMax Forums/BlitzMax Beginners Area/Does this demo used Sinus wave?

Hiya all

I already done the BlitzMax Demo but it got no sinus wave at the moment.

just got one problem....in flashtro demo used zoom and out(which is no problem) but I think it used Sinus wave doesnt it?

http://flashtro.com/page.php?id=102

cheers

Sinus wave? Wouldn't have thought so.

A Sine wave, on the other hand...
Graphics 640,480

X = 320
Y = 240
xAngle:Float = 0
yAngle:Float = 0

While Not KeyDown(key_escape)
  Cls
  xAngle:+2.8
  yAngle:+1.6
  If xAngle>=360 Then xAngle:-360
  If yAngle>=360 Then yAngle:-360
  DrawOval Cos(xAngle) * 100 + X, Sin(yAngle) * 50 + Y,2,2
  Flip
Wend


I dont see any sine wave. It's not even an image, it's a vector object being drawn and filled realtime with zooming and scaling. Notice there is no aliasing at the edges when it zooms.

He's talking about the movement pattern of the object. GFK's demo illustrates it perfectly.

Ahhhhhhhh.

ahhh Cheers GfK