Does this demo used Sinus wave?

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

Hotshot2005(Posted 2007) [#1]
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


GfK(Posted 2007) [#2]
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



ImaginaryHuman(Posted 2007) [#3]
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.


Gabriel(Posted 2007) [#4]
He's talking about the movement pattern of the object. GFK's demo illustrates it perfectly.


ImaginaryHuman(Posted 2007) [#5]
Ahhhhhhhh.


Hotshot2005(Posted 2007) [#6]
ahhh Cheers GfK