wer macht schönere muster
Verfasst: 20.08.2008 02:54
hab bisschen rumgespielt sieht irgendwie toll aus. hab version 3.9 vllt läufts bei dem einen oder anderen noch 
fragt mich nicht nach dem tieferen (mathematischen) sinn, hab einfach nur mit sin und cos rumgespielt
[/code]

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