Different example, although I believe you're looking for the same thing:
Edit: If this is your first time getting into small trig, you're probobly just about to hit a time in coding that starts to really get fun, especially when messing around with fractal stuff. And even understanding this small bit will get you through a LOT of 3d formulas. Good luck.
Const Radius:Int = 100 Const Step_Angle:Float = 2.0 Const ScreenWidth:Int = 800 Const ScreenHeight:Int = 600 Global Angle:Int = 0 Graphics ScreenWidth,ScreenHeight SetColor 255, 255, 255 Cls While angle < 360 Local X:Int = (ScreenWidth * 0.5) + (Radius * Sin(angle)) Local Y:Int = (ScreenHeight * 0.5) + (Radius * Cos(angle)) Plot(x,y) Angle:+Step_Angle Wend Flip WaitKey
Edit: If this is your first time getting into small trig, you're probobly just about to hit a time in coding that starts to really get fun, especially when messing around with fractal stuff. And even understanding this small bit will get you through a LOT of 3d formulas. Good luck.