I have now added the draw ellipse command to both the Windows and Linux versions.
Windows: http://naalaa.com/msi/N6_1_0_2.msi
Linux: http://naalaa.com/release/naalaa6_1.0.2_x86_64.tar.gz
The syntax is: draw ellipse center_x, center_y, radius_x, radius_y[, filled]
Example:
If you want to draw circles, use the same value for radius_x and radius_y.
Windows: http://naalaa.com/msi/N6_1_0_2.msi
Linux: http://naalaa.com/release/naalaa6_1.0.2_x86_64.tar.gz
The syntax is: draw ellipse center_x, center_y, radius_x, radius_y[, filled]
Example:
Code:
set redraw off
do
' Set random color.
set color rnd(256), rnd(256), rnd(256), rnd(256)
' Draw random filled ellipse.
draw ellipse rnd(640), rnd(480), 16 + rnd(64), 16 + rnd(64), true
' Draw random unfilled ellipse.
draw ellipse rnd(640), rnd(480), 16 + rnd(64), 16 + rnd(64), false
redraw
wait 16
until keydown(27, true)
If you want to draw circles, use the same value for radius_x and radius_y.