create eliptical shape with WritePixel?

BlitzPlus Forums/BlitzPlus Programming/create eliptical shape with WritePixel?

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.

Here is another simple but elegant way to draw an elipse.

Graphics 1024, 768, 32, 2

SetBuffer BackBuffer()

A = 300
B = 200

For t = 0 To 359

Plot A* Cos(t) + 512, B*Sin(t) + 384
Flip
Next

WaitKey

End