Magnuz of Sweden about the planetarium app Stellarium.org.
Contents.
Web resources.
Stellarium can be scripted using ECMAScript/JavaScript and an API. Scripts can be written, edited and run in an integral console (toggled by the [F12] key, together with [fn] key on MacOS), or written and edited in an external editor, copied/saved to the Stellarium script directory (check documentation for location). Scripts are saved with a .ssc (Stellarium SCript) or .inc (INClude for e.g. configuration or data in ECMAScript/JavaScript format) extension.
Information about the components ECMAScript/JavaScript and Stellarium API.
Various SSC scripts to demonstrate the Stellarium scripting capabilities.
Own SSC scripts for Stellarium. These are rather complex scripts and not intended or suitable for beginners to learn SSC (Stellarium scripting API and ECMAScript/JavaScript) or Stellarium script management. Scripts are embedded in HTML documents for proper character encoding, so copy contents from web viewer and paste into the Stellarium script console.
This page, https://magnuz.se/astro/apps/stellarium/index.html, © 2025 Magnuz of Sweden,
created 2025-09-08 and last updated 2025-12-01 by Magnuz of Sweden.