uses gdip

Screen 320, 200, 1
SetCaption "Abst4"
SetSmoothMode 0

single y1, angle
single os=60, sc=40, spd= 0.05

int n=7
polypoints p,q,n,100,0,0
scale p,p,n,0.9,0.9

While not Key 27
  clsColor 85,80,200,255
  rotate p,q,n,angle,180,100
  FillPoly q,n, ARGB 200,255,0,0
  Poly q,n,2, ARGB 255,0,0,128
  angle += spd
  Flip
  SetFps 60
Wend
Ends