Add working translation to sphere coordinates

This commit is contained in:
Paul Brinkmeier
2025-07-21 23:37:04 +02:00
parent 1635eb9ede
commit 26c35b27b4
7 changed files with 257 additions and 21 deletions
+47
View File
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
table {
width: 100%;
table-layout: fixed;
}
</style>
</head>
<body>
<h1>Is it working?</h1>
<button id="perm">click me for permissions</button>
<table>
<tr>
<th>α</th>
<td id="disp-a">?</td>
<th>x</th>
<td id="disp-x">?</td>
</tr>
<tr>
<th>β</th>
<td id="disp-b">?</td>
<th>y</th>
<td id="disp-y">?</td>
</tr>
<tr>
<th>γ</th>
<td id="disp-c">?</td>
<th>z</th>
<td id="disp-z">?</td>
</tr>
<tr>
<th>φ</th>
<td id="disp-phi">?</td>
<th>θ</th>
<td id="disp-theta">?</td>
</tr>
</table>
<script src="m3.js"></script>
<script src="util.js"></script>
<script src="v3.js"></script>
<script src="debug.js"></script>
</body>
</html>