mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-25 04:16:55 -08:00
24 lines
517 B
HTML
24 lines
517 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="aladin-lite-div" style="width: 1024px; height: 768px"></div>
|
|
|
|
<script type="module">
|
|
import A from '../src/js/A.js';
|
|
|
|
A.init.then(() => {
|
|
let vertices = A.Utils.HEALPix.vertices(Math.pow(2, 3), BigInt(276))
|
|
//let lonlat = A.Utils.HEALPix.pix2ang(8, 0n)
|
|
//let ipix = A.Utils.HEALPix.ang2pix(8, 0.1, 0.4)
|
|
//console.log("vertices", vertices, lonlat, ipix)
|
|
console.log(vertices)
|
|
})
|
|
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|