unscathering94 downloadsSee your vault as a universe: folders are suns, notes are planets orbiting them.
An Obsidian plugin that turns your vault into a universe.
Folders are suns. Notes are planets.
Try the live demo · Install · How the planets are made
Hover any planet for a card with the start of the note, its tags, and how rare its planet is.
Fifteen kinds of world, each with its own patterns, colours, weather, rings and moons:
Every so often a note lands on something rarer. It might be a real planet from our solar system, or J1407b with its enormous rings, or one of a handful of worlds inspired by science fiction:
Nothing is stored. Each planet is worked out from the note's path, which gets turned into a number. That number seeds a random roll, so the same note gives the same planet every time, and it only changes if you rename or move the note.
The roll works through a list of traits:
Each kind of world has its own options, so a gas giant won't roll a coastline. Multiply all of it out and you get roughly 1.1 quadrillion possible planets.
The surfaces are painted from layered noise, the same trick games use for terrain, in a background thread. Each one is painted once and then reused, so moving around stays smooth. The light always comes from the planet's own sun, so you see day and night sides, and city lights only come on in the dark.
The rarity on each card is just the odds of that exact roll. Even the most ordinary planet is about 1 in a few million. Legendary means 1 in a quadrillion or longer.
Suns work the same way, using the folder's name: 1,000 kinds of star and 216 kinds of black hole.
Until it's listed in Obsidian's Community plugins:
main.js, manifest.json and styles.css from the latest release..obsidian/plugins/planetarium/ and put the three files in it. The .obsidian folder is hidden; press Cmd+Shift+. in the macOS Finder, or choose View > Show > Hidden items on Windows.It isn't desktop-only, so it should run on mobile too.
| Do this | To |
|---|---|
| Drag, scroll, pinch | Move and zoom |
| Click a planet | Open the note (Ctrl/Cmd-click for a new tab) |
| Click a sun | What kind of star it is |
| Double-click a sun | Fly into its system |
/ |
Search |
H |
Show the whole universe |
L |
Fly to the note you have open |
Tab |
Next system |
Space |
Pause the orbits |
? |
The legend: what every colour and glow means |
Under Settings > Planetarium you can change orbit speed and the size of planets and suns. You can pick a nebula style, or let it surprise you. You can switch the background stars, link lanes, trails, labels, rogue planets (notes with no links) and moons (notes that link to just one other note) on or off. If the view feels heavy on an older machine, set Performance to Balanced or Battery saver.
You need Node.js 18 or newer.
npm install
npm run build # type-checks and builds main.js
npm run dev # rebuilds while you edit
node demo/build.mjs # builds the web demo into demo/dist/index.html
The planet generators live in src/planets/. preview/ has pages for checking them by eye.