{"id":19872175,"url":"https://github.com/geospace-code/stellarium-scripts","last_synced_at":"2025-03-01T00:51:19.211Z","repository":{"id":80566752,"uuid":"202397162","full_name":"geospace-code/stellarium-scripts","owner":"geospace-code","description":"Examples of .ssc scripts for Stellarium","archived":false,"fork":false,"pushed_at":"2023-08-22T14:28:15.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-11T16:38:43.693Z","etag":null,"topics":["stellarium"],"latest_commit_sha":null,"homepage":"https://stellarium.org/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geospace-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-14T17:34:03.000Z","updated_at":"2023-12-08T09:30:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc47a500-ad4c-417a-908d-b15913a637ae","html_url":"https://github.com/geospace-code/stellarium-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geospace-code%2Fstellarium-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geospace-code%2Fstellarium-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geospace-code%2Fstellarium-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geospace-code%2Fstellarium-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geospace-code","download_url":"https://codeload.github.com/geospace-code/stellarium-scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241297535,"owners_count":19940252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["stellarium"],"created_at":"2024-11-12T16:14:42.702Z","updated_at":"2025-03-01T00:51:19.206Z","avatar_url":"https://github.com/geospace-code.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stellarium .ssc example scripts\n\nStellarium can be used repeatably via ECMAScript\n[.ssc scripts](https://stellarium.org/doc/head/scripting.html).\nStellarium has been steadily enhancing scripting capabilities and general capabilities, so there's often a benefit to running a newer version of Stellarium.\n\n## Usage\n\nFrom Stellarium, press F12 to open script load / run dialog.\n\n## Parameters\n\nHere are a few relevant parameters.\n\nFOV = field of view.\n\n```javascript\nLabelMgr.deleteAllLabels()  // clear off any labels that clutter view\ncore.setDate(\"2000-01-23T04:45:15\",\"utc\",true)  // use UTC time\ncore.setTimeRate(0)  // do not advance time, pause at the specified time\nStelMovementMgr.zoomTo(FOV_degrees, 0)  //0 disables zoom animation\ncore.setObserverLocation(lon, lat, alt_meters, 0, \"myName\")  // 0 disables move animation\ncore.moveToRaDecJ2000(RA,DEC,0)  // move to right ascension, declination :  0=without animation\ncore.setDiskViewport(false)  // use full window, not a simultated circular lens\n```\n\nTurn on azimuthal and equatorial grids:\n\n```javascript\nGridLinesMgr.setFlagAzimuthalGrid(true)\nGridLinesMgr.setFlagEquatorGrid(true)\n```\n\nTurn on constellation lines and labels\n\n```javascript\nConstellationMgr.setFlagLines(true)\nConstellationMgr.setFlagLabels(true)\n```\n\nTurn on compass cardinal points (NESW) and turn off landscape\n\n```javascript\nLandscapeMgr.setFlagCardinalsPoints(true)\nLandscapeMgr.setFlagLandscape(false)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeospace-code%2Fstellarium-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeospace-code%2Fstellarium-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeospace-code%2Fstellarium-scripts/lists"}