You are reading the development docs (2026.12.1-dev.1): features here may not be released yet.
Skip to content

Astrometrics ​

custom:lcards-astrometrics-card

Astrometrics card: a galaxy disc with bearing labels round its rim, the galactic core glowing yellow, Federation space as a blue see-through sector, Borg space as a green one, crossing beams and a small blue planet with its orbits

A 3D scene in the style of the astrometrics lab and stellar cartography: a lettered sector map, a galaxy disc with territories, a planet with an away team on it, or the sky over your home with the sun and moon where they are now. Drag to orbit, scroll or pinch to zoom, and tap a point to fly to it.

  • Objects draw the scene (grids, planets, territories, routes, nebulas, ships), and points are the named places on it that labels, routes and the camera refer to by id.
  • The camera orbits a target, and named views let a tap fly it from the galaxy to a planet and back.
  • The scene draws only when something moves, so an idle card costs nothing, and every astrometrics card and WebGL background on a page shares one WebGL context.

Try it

  • The card editor opens the Astrometrics Studio: a full-screen editor with the live scene, where you tap, drag and place points, edit every object in a form, capture camera views and start from a starter.
  • Getting Started has a first card to copy and every starter with its picture.

How a scene is sized ​

One card holds one scene, and every position, size and distance in it is in scene units: your own, or real ones you name. Most scenes are built to fit; a true-scale scene uses the real numbers and can reach from a galaxy down to a station.

  • Scene units are yours to pick: a disc of radius 100, planets 5 across. Nothing is to scale, and everything shows at once. This is the easy way, and most starters work like this.
  • Named units (units: ly, pc, au, km or m on the card) say what one unit is, so real numbers come out right: a galaxy 100,000 light years across, a planet at its real distance, a model at its real size (a model's length is in metres and is converted to the scene's units).
  • A star system (a system object placed at one of the scene's points) is a scene inside the scene, with units of its own: a galaxy in light years holds a solar system in km. As the camera flies close it switches to the system's units, so one card spans the whole range.
  • Screen sizes (line widths, dashes, label and marker sizes) are in px, the same at any zoom. Every other length (radius, size, line_spacing, positions) is in scene units.
  1. Galaxy
    100,000 ly across

    Territories, nebulas, routes and named stars.

    type: galaxy
  2. Star system
    9 billion km to Neptune

    A scene at a point of the galaxy: a sun, orbits and planets.

    type: system
  3. Planet
    6,371 km radius

    A globe with its map, moons and orbits.

    type: sphere
  4. Ship or station
    about 1.5 km

    A 3D model; its length is always in metres.

    type: model
Built to fit

Your own scene units. Sizes and distances are picked so everything shows at once. Most starters, and the easy way to start.

True scale

Named units (ly, pc, au, km, m) and the real numbers. Planets are dots from across their system, so labels and markers carry the view.

Scale has the details: units, star systems, the real Solar System and the scene clock.

Where to start ​

Pick the starter closest to what you want and change it; it is quicker than an empty scene. The Studio's Starters tab adds one with a few settings, and Getting Started shows them all with pictures.

You wantStart with
A galaxy map with territoriesGalaxy with territories (scene units), Federation map (scene units), Star Trek galaxy (ly)
A sector map or tactical gridSector map (scene units)
Planets and orbitsSolar system (scene units), Solar system (real positions) (km, the planets where they are on the scene clock's date)
The sky over your homeSky dome: the sun and moon (scene units; the sun and moon where they are now, from your Home Assistant location)
A ship or starbase close upStarbase approach, Deep Space 9, Utopia Planitia yards, Borg encounter (scene units)
From a galaxy down to a stationGalaxy to station at true scale (ly, with a solar system in km inside)
Something of your ownThe quick start: a grid and a few points (scene units)

Pages ​

PageCovers
Getting StartedA first card, the starters with pictures, and the card's own options
StartersEvery ready-made scene and part as a live card with its YAML
PointsNamed places: where they sit, labels, markers, actions, cards pinned to them
ObjectsWhich object type to use for what, and the keys every object takes
Camera and ViewsNamed views, controls, the on-card buttons, following a point, limits
Scene and LooksUnits and motion, the diagram and realistic looks, stars, background, labels
Live DataPoints and settings that follow entities, templates, rules, a guided tour
EffectsNebulas, scan bands, moving dashes, animated fills, warp and dust
ScaleReal units, star systems in their own units, the real Solar System and the scene clock
Your Own ModelsShips and stations from your own glTF files

Released under the MIT License. | About