Planisphere JS

커스텀 가능한 웹용 별자리판 라이브러리

설정 정보 불러오는 중...

🚀 빠른 시작 가이드

아래 코드를 복사하여 본인의 HTML에 붙여넣으세요. (최신 버전은 NPM 또는 CDN을 통해 간편하게 로드할 수 있습니다.)

<!-- 1. 컨테이너 생성 -->
<div id="planisphere" style="width:100%; height:600px;"></div>

<!-- 2. 실행 스크립트 -->
<script type="module">
    // CDN에서 직접 불러오기 (권장)
    import Planisphere from 'https://cdn.jsdelivr.net/npm/planisphere-js/index.js';

    (async () => {
        const ps = new Planisphere({
            wrapperDomId: '#planisphere',
            lon: 126.98, // 경도
            lat: 37.57,  // 위도
        });
        await ps.initialize();
    })();
</script>