47 lines
1.5 KiB
HTML
47 lines
1.5 KiB
HTML
![]() |
<!doctype html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta name="viewport" content="width=device-width">
|
||
|
<title>Thomson problem</title>
|
||
|
<script type="importmap">
|
||
|
{
|
||
|
"imports": {
|
||
|
"three": "https://cdn.jsdelivr.net/npm/three@0.173.0/build/three.module.js",
|
||
|
"three/addons/": "https://cdn.jsdelivr.net/npm/three@0.173.0/examples/jsm/"
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
<script type="module" src="script.js"></script>
|
||
|
<link rel="stylesheet" href="style.css"/>
|
||
|
</head>
|
||
|
<body>
|
||
|
<section id="controls">
|
||
|
<datalist id="heights">
|
||
|
<option value="1"/>
|
||
|
<option value="1.3">
|
||
|
</datalist>
|
||
|
<datalist id="scales">
|
||
|
<option value="0.86"/>
|
||
|
</datalist>
|
||
|
<div>
|
||
|
<label for="h1"><math><msub><mi>h</mi><mn>1</mn></msup></math>:</label>
|
||
|
<input type="range" min="0" max="2" value="1" step="0.01" id="h1" list="heights">
|
||
|
</div>
|
||
|
<div>
|
||
|
<label for="h2"><math><msub><mi>h</mi><mn>2</mn></msup></math>:</label>
|
||
|
<input type="range" min="0" max="2" value="1.33" step="0.02" id="h2" list="heights">
|
||
|
</div>
|
||
|
<div>
|
||
|
<label for="scale">Scale:</label>
|
||
|
<input type="range" min="0" max="1" value="0.86" step="0.02" id="scale" list="scales">
|
||
|
</div>
|
||
|
</section>
|
||
|
|
||
|
<section id="three-container"></section>
|
||
|
|
||
|
<footer>
|
||
|
<a href="https://somethingorotherwhatever.com">made by clp</a>
|
||
|
</footer>
|
||
|
</body>
|
||
|
</html>
|