Superb, this is easily adapted into the makings of a simple track editor. I just added the following and it works a treat.
;Place the points HGW = GraphicsWidth()*.5 HGH = GraphicsHeight()*.5 For i=0 To n angle# = Float( i ) / Float( n ) *360.0 xp(i) = HGW + Cos ( angle) * HGW*.75 yp(i) = HGH + Sin( angle ) * HGH *.75 Next