Need 2d functions

Blitz3D Forums/Blitz3D Programming/Need 2d functions

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

plot maybe or the use the line command ?

a gimmick for u


Graphics 800,600,32,3
midx = 300
midy = 300
sizex = 200
sizey = 200
Color 222,222,222
Const abst = 90
;20,40,60,90,120
For a= 0 To 359 Step abst
xo = midx+sizex*Sin(a-abst)
yo =midy+sizey*Cos(a-abst)
Line midx+sizex*Sin(a),midy+sizey*Cos(a) ,xo,yo
Next
Flip
WaitKey()