
fragt mich nicht nach dem tieferen (mathematischen) sinn, hab einfach nur mit sin und cos rumgespielt
Code: Alles auswählen
InitSprite()
InitKeyboard()
InitMouse()
OpenScreen(1024,768,32,"Sinus/Cosinus")
Repeat
ExamineMouse()
ExamineKeyboard()
ClearScreen(0,0,0)
StartDrawing(ScreenOutput())
radius.f=0
For h=0 To 2000
Box(500+h/10*Cos(h)*Sin(h),400+h/10*Sin(h),1,1,RGB(255,255,255))
Next
For h=0 To 2000
Box(500+h/10*Cos(h)*Cos(h),400+h/10*Sin(h),1,1,RGB(255,255,255))
Next
For h=0 To 2000
Box(500+h/10*Sin(h)*Cos(h),400+h/10*Sin(h),1,1,RGB(255,255,255))
Next
For h=0 To 3600
Box(500+h/2*Cos(h),400+h/2*Sin(h),1,1,RGB(255,255,255))
Next
For h=0 To 2000
Box(500+h/10*Cos(h),400+h/10*Cos(h)*Sin(h),1,1,RGB(255,255,255))
Next
For h=0 To 2000
Box(500+h/10*Cos(h)*Cos(h)*Sin(h)*ATan(h),400+h/10*Sin(h),1,1,RGB(255,255,255))
Next
StopDrawing()
FlipBuffers()
If KeyboardPushed(1) : End : EndIf
ForEver