ARC
ARC [STEP] x,y,r,astart,aend [,aspect [,color]] [COLOR color]
Draws an arc:
[x, y]: center pointr: radius in pixelastart,aend: first anf last angle in radiansaspect: aspect ratiocolor: line color
If STEP is used x and y are a step from the
last position of the graphics cursor.
Example 1
x = 100
y = 100
r = 50
astart = 0
aend = rad(90)
ARC x, y, r, astart, aendExample 2: Using STEP
x = 50
y = 50
r = 50
astart = 0
aend = rad(90)
pset(100,100) ' Draw point at 100,100 and set the graphics cursor to 100,100
ARC STEP x, y, r, astart, aend ' make a step from 100,100 by 50 pixels in x and 50 pixels in yCode samples using ARC
003 conditional branching.bas
3d_palmx.bas
anball 1.0.bas
another look at trig functions.bas
arc_ui.bas
biorythms.bas
blackbox.bas
Blackbox.bas
Calendar.bas
calendar.bas
chart.bas
Charts.bas
checkers.bas
chess.bas
circ.bas
crow.bas
demanda.bas
dogstar5.bas
duckduckgo.bas
Easter_Butcher.bas
easter_butcher.bas
Easter_Carter.bas
easter_carter.bas
easter_mallen.bas
Easter_Oudin.bas
easter_oudin.bas
ellipse arc length estimate.bas
fibanacci3.bas
g2 Life.bas