Stellarium / stellarium-web-engine

JavaScript planetarium engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stellarium Web Engine

About

Stellarium Web Engine is a JavaScript planetarium renderer using WebGL that can be embedded into a website.

Features

  • Atmosphere simulation.
  • Gaia stars database access (more than 1 billion stars).
  • HiPS surveys rendering.
  • High resolution planet textures.
  • Constellations.
  • Support for adding layers and shapes in the sky view.
  • Landscapes.

Build the javascript version

You need to make sure you have both emscripten and sconstruct installed.

# Setup emscripten path.
source $PATH_TO_EMSDK/emsdk_env.sh

# Build stellarium-web-engine.js and stellarium-web-engine.wasm
# This will also copy the files into html/static/js
make js

# Now see apps/simple-html/ to try the library in a browser.

Contributing

In order for your contribution to Stellarium Web Engine to be accepted, you have to sign the Stellarium Web Contributor License Agreement (CLA).

About

JavaScript planetarium engine


Languages

Language:C 86.1%Language:C++ 10.6%Language:JavaScript 1.0%Language:Vue 1.0%Language:Python 0.4%Language:HTML 0.3%Language:GLSL 0.2%Language:Makefile 0.2%Language:SCSS 0.1%Language:Dockerfile 0.0%Language:Shell 0.0%