Upload test for mobile

pull/2/head
miguel 2020-10-18 00:00:08 +11:00
rodzic e7f04c0807
commit 4badd14a6d
2 zmienionych plików z 31 dodań i 4 usunięć

Wyświetl plik

@ -8,15 +8,27 @@ header {
font-family: 'Courier New', Courier, monospace; font-family: 'Courier New', Courier, monospace;
text-align: center; text-align: center;
} }
canvas {
svg {
background: white; background: white;
width: 100%; width: 100%;
height: 200px; height: 400px;
margin: auto; margin: auto;
border: 3px solid #ff0000; border: 3px solid #000000;
display: block; display: block;
box-sizing: border-box; box-sizing: border-box;
} }
canvas {
background: white;
width: 100%;
height: 400px;
margin: auto;
border: 3px solid #000000;
display: block;
box-sizing: border-box;
}
section.spreadsheet { section.spreadsheet {
background: grey; background: grey;
display: flex; display: flex;
@ -43,6 +55,7 @@ section.controls div label {
background:rgb(94, 245, 94); background:rgb(94, 245, 94);
display: inline-block; display: inline-block;
width: 180px; width: 180px;
font-size: 0.8em;
text-align: right; text-align: right;
} }

Wyświetl plik

@ -8,10 +8,17 @@
</head> </head>
<body> <body>
<header>Miguel VK3CPU - Magloop Antenna Calculator</header> <header>Miguel VK3CPU - Magloop Antenna Calculator</header>
<!--
<canvas id="3Dantenna" height="200px"> <canvas id="3Dantenna" height="200px">
3D Antenna Radiation Pattern Canvas 3D Antenna Radiation Pattern Canvas
</canvas> </canvas>
<canvas id="chartCanvas" height="200px"> -->
<svg height="400px">
<circle cx="50%" cy="50%" r="30%" stroke="black" stroke-width="4" fill="white"/>
<circle cx="50%" cy="50%" r="25%" stroke="black" stroke-width="4" fill="white"/>
<text x="78%" y="50%" style="fill:black;">Capacitance</text>
</svg>
<canvas id="chartCanvas" height="400px">
2D Chart Canvas 2D Chart Canvas
</canvas> </canvas>
<section class="controls"> <section class="controls">
@ -124,6 +131,13 @@
return retval; return retval;
} }
function getProximityResFromSpacing(b_conductor_radius, c_loop_spacing) {
var retval = 0.0;
const lut = { 1:[],
2:[],
}
}
function calculateLossResistance() { function calculateLossResistance() {
var retval = []; var retval = [];
const a_coil_radius = loop_diameter_slider.value * 0.5; const a_coil_radius = loop_diameter_slider.value * 0.5;