mirror of http://CODE.RHODECODE.COM/u/O/O/O
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
30 KiB
71 lines
30 KiB
1 year ago
|
function _1(md){return(
|
||
|
md`# <FONT SIZE=3></FONT><FONT SIZE=2><SUB><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᔓᔕ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᗱᗴ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᙁ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᑐᑕ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᖆᖇ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ꖴ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᑐᑕ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://GHⓄSTARCHIVE.ⓄRG/search?term=https%3A%2F%2Fmathworld.wolfram.com%2FSteinerChain.html">◯</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">✤</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ИN</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᗱᗴ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᕈᕋ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ИN</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᗩ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">✤</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://GHⓄSTARCHIVE.ⓄRG/search?term=https%3A%2F%2Fmathworld.wolfram.com%2FSteinerChain.
|
||
|
# <FONT SIZE=3></FONT><FONT SIZE=2><SUP><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᔕᔓ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᗱᗴ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᙀ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᑐᑕ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᖈᖉ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ꖴ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᑐᑕ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://GHⓄSTARCHIVE.ⓄRG/search?term=https%3A%2F%2Fmathworld.wolfram.com%2FSteinerChain.html">◯</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">✤</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">NИ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᗱᗴ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᕊᕍ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">NИ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">ᗨ</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://ⓄBSERVABLEHQ.CⓄM/@oooooooooooooooo/o-selcric-tnegnat-laidar-o-radial-tangent-circles-o">✤</A><A TARGET="_BLANK" HREF="HTTP://ARCHIVE.IS/BE.WIKIPEDIA.ORG/wiki/%D1%96%D0%BD%D1%82%D1%83%D1%96%D1%86%D1%8B%D1%8F">⚪</A><A TARGET="_BLANK" HREF="HTTP://GHⓄSTARCHIVE.ⓄRG/search?term=https%3A%2F%2Fmathworld.wolfram.com%2FSteinerChain.htm
|
||
|
)}
|
||
|
|
||
|
function _2(width,DOM,O_EULAW_REDILS_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_SLIDER_WALUE_O)
|
||
|
{
|
||
|
let O_HTDIW_O_WIDTH_O=width;
|
||
|
let O_THGIEH_O_HEIGHT_O=width/(327/180)+2;
|
||
|
const dc = DOM.context2d(O_HTDIW_O_WIDTH_O,O_THGIEH_O_HEIGHT_O);
|
||
|
dc.clearRect(0,0,O_HTDIW_O_WIDTH_O,O_THGIEH_O_HEIGHT_O);
|
||
|
dc.fillStyle='#F2F2F2';
|
||
|
var O_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_O
|
||
|
=
|
||
|
O_EULAW_REDILS_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_SLIDER_WALUE_O;
|
||
|
|
||
|
var O_SUIDAR_ELCRIC_EGRAL_O_LARGE_CIRCLE_RADIUS_O
|
||
|
=
|
||
|
(O_HTDIW_O_WIDTH_O/2/(327/180))
|
||
|
-
|
||
|
(
|
||
|
(O_HTDIW_O_WIDTH_O/2/(327/180))
|
||
|
*
|
||
|
(Math.sin((4*Math.atan(1))/O_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_O)
|
||
|
/
|
||
|
(1+Math.sin((4*Math.atan(1))/O_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_O))
|
||
|
)
|
||
|
)
|
||
|
;
|
||
|
|
||
|
var O_SUIDAR_ELCRIC_LAMS_O_SMAL_CIRCLE_RADIUS_O
|
||
|
=
|
||
|
(
|
||
|
(O_HTDIW_O_WIDTH_O/2)
|
||
|
*
|
||
|
(Math.sin((4*Math.atan(1))/O_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_O)
|
||
|
/
|
||
|
(1+Math.sin((4*Math.atan(1))/O_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_O))
|
||
|
)
|
||
|
)
|
||
|
;
|
||
|
|
||
|
var O_X_RETNEC_O_CENTER_X_O=O_HTDIW_O_WIDTH_O/2;
|
||
|
var O_Y_RETNEC_O_CENTER_Y_O=O_THGIEH_O_HEIGHT_O/2;
|
||
|
|
||
|
for (var i = 1; i <= O_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_O; ++i)
|
||
|
{
|
||
|
dc.beginPath();
|
||
|
var O_ELGNA_O_ANGLE_O = i*2*(4*Math.atan(1))/O_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_O;
|
||
|
var x = O_X_RETNEC_O_CENTER_X_O + Math.cos(O_ELGNA_O_ANGLE_O) * O_SUIDAR_ELCRIC_EGRAL_O_LARGE_CIRCLE_RADIUS_O;
|
||
|
var y = O_Y_RETNEC_O_CENTER_Y_O + Math.sin(O_ELGNA_O_ANGLE_O) * O_SUIDAR_ELCRIC_EGRAL_O_LARGE_CIRCLE_RADIUS_O;
|
||
|
dc.arc(x, y, O_SUIDAR_ELCRIC_LAMS_O_SMAL_CIRCLE_RADIUS_O/(327/180),0,2*(4*Math.atan(1)));
|
||
|
dc.fill();
|
||
|
}
|
||
|
return dc.canvas;
|
||
|
}
|
||
|
|
||
|
|
||
|
function _O_EULAW_REDILS_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_SLIDER_WALUE_O(Inputs){return(
|
||
|
Inputs.range([2, 510], {label: "", step: 1})
|
||
|
)}
|
||
|
|
||
|
export default function define(runtime, observer) {
|
||
|
const main = runtime.module();
|
||
|
main.variable(observer()).define(["md"], _1);
|
||
|
main.variable(observer()).define(["width","DOM","O_EULAW_REDILS_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_SLIDER_WALUE_O"], _2);
|
||
|
main.variable(observer("viewof O_EULAW_REDILS_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_SLIDER_WALUE_O")).define("viewof O_EULAW_REDILS_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_SLIDER_WALUE_O", ["Inputs"], _O_EULAW_REDILS_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_SLIDER_WALUE_O);
|
||
|
main.variable(observer("O_EULAW_REDILS_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_SLIDER_WALUE_O")).define("O_EULAW_REDILS_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_SLIDER_WALUE_O", ["Generators", "viewof O_EULAW_REDILS_ELCRIC_EGRAL_GNOLA_DEBIRCSNI_SELCRIC_LAMS_FO_REBMUN_O_NUMBER_OF_SMAL_CIRCLES_INSCRIBED_ALONG_LARGE_CIRCLE_SLIDER_WALUE_O"], (G, _) => G.input(_));
|
||
|
return main;
|
||
|
}
|