Speed up drawing

pull/407/head
Richard Hopkins 2020-05-11 17:05:27 +01:00
parent 38a3922a9e
commit 883147bc00
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ const drawSegment = (params) => {
x = centerX + (params.x * radius);
y = centerY - (params.y *radius);
g.setColor(0,0,0);
incr = cirRad/60;
incr = cirRad/15;
for (i = angle1; i < angle2; i=i+incr) {
brush = thickness * (angle2-angle1) /angle2;
points = [