- Help drawing Arcs in ICE
- 19 Mar 2019 02:50:42 pm Permalink
- Last edited by calclover2514 on 20 Mar 2019 02:35:26 pm; edited 1 time in total

I have looked everywhere for an algorithm that I can port to ICE for drawing circle arcs.

The only ones I can find are ~500 lines long, which would be too slow.

EDIT: This simple one requires floats:

EDIT: I would like to be able to specify an exact radius

If someone can help me, that would be great.

Thanks,

The only ones I can find are ~500 lines long, which would be too slow.

EDIT: This simple one requires floats:

**Code:**```
def plotCirle (xc, yc, rad, start, end):
```

theta = start

while theta <= end:

x = xc + rad * sin (theta)

y = yc + rad * cos (theta)

plot (x, y)

theta = theta + 0.01

EDIT: I would like to be able to specify an exact radius

If someone can help me, that would be great.

Thanks,