Update inductor.html

pull/2/head
miguel 2020-11-19 17:22:55 +11:00
rodzic 35b798e4b4
commit b13278a063
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -281,13 +281,13 @@
// Draw loop ends first, then draw the loop after:
fctx.strokeStyle = "grey";
fctx.beginPath();
fctx.arc(loopx - 1.414*loop_radius, loopy + 1.414*loop_radius, loop_radius, 0.0, -0.25 * Math.PI, true);
fctx.arc(loopx - 0.5*loop_radius, loopy + 1.414*loop_radius, 0.5 * loop_radius, 0.0, -0.40 * Math.PI, true);
fctx.lineWidth = cond_radius * 2.0;
fctx.stroke();
fctx.strokeStyle = "black";
fctx.beginPath();
fctx.arc(loopx + 1.414*loop_radius, loopy + 1.414*loop_radius, loop_radius, Math.PI, -0.75 * Math.PI, false);
fctx.arc(loopx + 0.5*loop_radius, loopy + 1.414*loop_radius, 0.5 * loop_radius, Math.PI, -0.60 * Math.PI, false);
fctx.lineWidth = cond_radius * 2.0;
fctx.stroke();