Sébastien Wallachia1k downloadsWrite a world in a few lines of a code block: get its description, its stability and a living window onto it. Keep your Ages on the shelf of a floating-island refuge.
Français · English
An Obsidian plugin for writing worlds. You write an Age (a world) in an age block, one page per line, and the plugin works out the rest: description, stability, a painted and animated linking window, a flippable book with its cover, a map of linked worlds, and a refuge (the Relto) where your Ages are shelved. Everything is local: no network, no AI at runtime, every sound is synthesized and every picture is procedural.
The founding idea: you don't create a world, you link to a world that already exists. What you write describes it; what you leave open is drawn by lot, always the same way for the same note. And if you rewrite a world you've already explored, you damage it.
This product contains trademarks and/or copyrighted works of Cyan. All rights reserved by Cyan. This product is not official and is not endorsed by Cyan.
Fan project made under Cyan's Fan-Made Content Policy. Not affiliated with or endorsed by Cyan Worlds. No Myst asset (font, image, sound) is included. Free and non-commercial.
Inspired by the Myst series (and the Mystcraft idea of linking to a world rather than creating one). A tribute: the names borrowed from the Myst universe (Age, Relto, D'ni, linking book, Descriptive Book…) are an homage and a source of inspiration, not a reproduction. The code, the pictures, the sounds and the texts are original. Licence: MIT.
Age Writer is built to be diegetic: almost everything it shows is something that happens in the world, not a feature of an app. You are not filling in a form; you are a Writer at a desk, and your vault is a library of Descriptive Books.
age block is a phrase of the Art. The text under the block is what the book says back once written: "The sun burns white, leaving no corner kind." Nothing in it is a label or a field name.age: 3.5).Two places step outside the fiction on purpose: the Details tab (stability per axis, causes, numbers: read it as a Guild surveyor's notes on your book) and the Settings. Everything else tries to stay in the world.
Status. Released, desktop and mobile, sandbox mode (see What's next). The current version is the one in manifest.json and on the Releases page; what changed in each version is in CHANGELOG.md (a more detailed developer log, in French, is in docs/NOTES-historique.md).
The full list is in CHANGELOG.md; in short:
main.js, styles.css and manifest.json from the latest release, copy them to .obsidian/plugins/age-writer/ in your vault, then enable Age Writer in Settings → Community plugins.The interface follows Obsidian's language (English or French); the setting Language of the extensions (section D'ni & numerals) lets you force one. The names of the blocks and the generated descriptions (in the book, the window and the panel) stay in English; the guide, the reference, the story letters and the journal are available in both languages. The plugin's settings are in its settings tab, under the "Extensions" heading.
age block in a note:```age
single_sun
water
return: [[Hub]]
link: [[Sunder Reach]]
```
An age code block holds three kinds of lines:
water, twin_suns, great_tree. Each one is a page of the book;seed: 42, link: [[Sunder Reach]], mass: 0.8;many: ruins, trees.stars: twin_suns is not a valid line (it is an ink blot): write twin_suns alone. Anything the plugin doesn't recognise is an ink blot and costs stability.
The special lines:
| Line | Effect |
|---|---|
link: [[Sunder Reach]] |
linking book to another Age (several allowed) |
return: [[Hub]] |
return book |
panel: [[lagoon.png]] |
your own window image |
seed: 42 |
changes the draw (same note + same seed = same world) |
cover: sober |
cover sobriety: ornate, classic, sober, plain, or 0 to 1 |
window_style: generative |
window rendering (generative or classic) |
window_size: xl / window_width: 520 |
window size |
fx: tv |
window effect: classic, static, ripple, sweep, tv, random, off |
day_length: 40, year_length: 12 |
day length (real minutes) and year length (days), generative rendering |
moons: 3 |
number of moons in the generative window (0 to 5; companion_moon gives one) |
many: ruins / few: rain / water: few |
quantities (a little of what clashes costs less; the more of the world they touch, the more it matters) |
size: small / medium / large |
the size of the world (a small world forgives, a large one does not; not window_size) |
rain: sometimes, dawn |
living weather: how often (always, often, sometimes, rarely, 1/10, 30%) and when (dawn, morning, noon, afternoon, dusk, night) |
mass: 0.8, age: 3.5, orbit: 1.2… |
physics values (all optional; the reference gives a typical value and what each one means) |
mechanism: orrery |
the Age's mechanism |
trap book |
trap book (neither return nor crack) |
damaged_pages = 2, removed_pages = 1 |
damaged linking book |
Special lines are not pages. Every block you can write, by axis, with its cost, and every alias, is in the full reference built into the plugin.
So as not to show everything at once, the panel below the block has three tabs (setting Tabs in the Age block):
Command Open this Age as a book. It opens in a main tab (or a window, or the side panel: setting Open the book in), always on the Cover.
Clicking the pane or "open ↗" links you to the target Age (sometimes uncertainly if the book is damaged).
Your refuge: an island with a cabin, a shelf of books (your Ages, clickable and coloured by stability), linking pillars, and pages that add elements and moods. A relto block in a note displays it.
A thin row of discreet icons above the picture:
| Tab | Content |
|---|---|
| View (eye) | the picture; below it, the time and D'ni time in large type. Clicking the time hides it; it fades by itself after a few seconds unless the mouse is over the view. The D'ni name is shown small, at the top, in the black band |
| Pages | active, available and locked pages; books shown on the shelf |
| Settings | sky time, ambience, level, volume |
| Enlarge | opens the Relto view in a main tab (also: command Open the Relto view (large)) |
In the Relto view, a fullscreen icon puts the picture on the whole screen; the icon bar and time float above it and fade. Esc to leave. On a phone the same icon fixes the Relto over the whole screen (phone browsers refuse true full screen); held upright, the picture lies down by a quarter turn, so you turn the phone and play. On a phone, the Relto never opens in full screen by itself. Relto sound keeps playing when you switch tabs.
A wheel of views sits at the top left of the band above the picture: its button shows the current view; a click opens a brass wheel over the picture with every view available (island, the opening view; global view; cabin; Imager; observatory; D'ni clock; linking pillars; grove; pond; pond ++; cat), its name at the hub on hover. Click a view to go there; Escape or a click elsewhere closes the wheel. You can also click things directly in the island view (the cabin, the pillars, the pond, the cat…). Which buttons are available depends on the active pages.
The page Imager (page_imager) adds a machine to the Relto, inspired by the imagers of the Myst series: a cold stone chamber (nav button, or the small brass device glowing on the cabin table).
Put an Age's book on the lectern (‹ › to change book) and tune the machine to that Age until it appears, alive, on the screen (a little crystal projects it there). It is a machine, not a panel with tabs: every control has its own place.
Below the screen, a workbench holds three stations, each with its lamp (lit when that setting is right). Click a station to come closer, the arrow at the bottom to step back (the screen stays in view up close).
Where each regulator setting comes from:
| Knob | Comes from |
|---|---|
| Frequency | the day length |
| Amplitude | the air pressure |
| Harmonics | the aurorae and magnetic field |
| Polarity | the direction of the field |
| Phase | drifts with the clock at the pace of the Age's own day (a tidally locked world barely drifts) |
On the right, a big lever under a lamp: red, amber when the image is clear enough, green once it holds. Pull it on a clear image and the machine follows the Age by itself (the drifting phase, the jumps of an erratic cycle); the controls are then held, and the book wears a small brass tag on the cabin shelf. Pull it again to let go.
Once locked, the crank left of the screen turns the view: four directions, each with its own landscape under the same sky; the rose shows where you look. The view slides as you turn. The lever right of it tilts the view:
Values are shown in D'ni numerals. The Details tab's surveyor's note is set by Surveyor's notes (Imager): full, words only (default) or off. The pale frame around clickable zones is off by default (Frame around clickable zones).
The clarity gauge reads the three settings together, and the drone's beats slow down as the atmosphere comes in tune. A crystalline fifth sounds when the whole image holds; glass, rails, crank and lock each have their sound.
Clues stay in the fiction: each Age's Details tab carries a surveyor's note (how its sky hums, what its star's light looks like, and the fixed values in D'ni numerals). The phase is never written down, and the crystals are the pages of the book itself. Your tuning, the lock and the periscope are kept per Age.
Once the Age's star is charted at the telescope, a sync micrometer calibrates the Imager on that world: a sharper image, the hour over there and its KIPS coordinates (see The telescope).
Everything above is the easy way (the default). In the demanding way (setting Instruments: The Art of the Guild), the Imager holds a single blank book, fixed in place, its window black: you do not choose the Age, you find it with the settings.
system:) share its light: crystals and atmosphere tell them apart.Tune the lenses and the atmosphere, sync the planet if its star is charted, and the image forms: the blank book remembers, the Age's name is inscribed on its page. The lock and periscope work as before.
Partial settings give the usual signs (a doubled image, a tint, snow) without naming the world; settings that match no written Age usually leave the window black. The guild state is kept per Relto, apart from the easy mode's per-Age tunings.
The Art does not create a world, it links to one that already exists, so sometimes you still fall on one. Tuning blind (the telescope holds no star), set four crystals that match no written Age: station III no longer sleeps, it searches (frequency and amplitude still matter).
All of these must hold:
Then about one time in three the window forms a world no one has written. It is reproducible: the same crystals, the same star light and the same notch ranges of iris, frequency and amplitude always show the same world, or nothing; phase, harmonics and polarity are tuned afterwards without changing it.
Bring it into focus (sharpness works as for written Ages; there is no sync, local time or KIPS) and the book shows it without a name: “a world no one has written”, with a few words of its description in pale ink, and a strange, beating tone (with the close-up room sounds) and a line: “The book shows a world no one has written.”
Click Transcribe this world under the book: a new note is created where Generate a random Age puts its notes (never overwriting), with a generated name and an age block holding exactly:
star_mass:, insolation:, rotation:, atmosphere:);seed:.Opened, it is the same world; from then on it is a written Age like any other (it joins the shelf, and the book will remember its name). A written Age whose pages match always wins.
The page Telescope (page_telescope) is always in the book of pages, locked until you write your first Age and attach the Mountains page. Attach it and a small observatory stands on the summit: a stone drum and a verdigris dome, its slit open and the tube showing (a window lights up at night). Click it to look through.
Each Relto hides its own Great Zero, drawn from the Relto's name and seed: nothing is stored, and two Reltos never share it. Two wheels aim the telescope:
The rim moves 25 notches, the hub one notch (100 torantee or 1 shahfee). The values are engraved under each wheel in D'ni numerals. These are the units of the D'ni Great Zero Coordinate System (GZCS); the third coordinate, the distance from the Zero (in shahfeetee), is measured when you chart an Age's star (below).
There is no distance readout. In the eyepiece a pulse, beating with the D'ni prorahn, is a diffuse uneven glow from afar, then a point of light that steadies as you come closer. A line of words says what you see, and a soft tone follows each turn. While you look, the pulse also beats softly in your ear, skipping beats from afar and steady up close (with the close-up room sounds).
Bring the point into the small ring and the Zero is found: it is engraved on the plate, stays found, and a faint light pulses at the end of the telescope on the island. Click the plate to set the wheels back on it.
Finding the Zero unlocks the D'ni clock page (page_dni_clock): a brass armillary sphere on its own pillar in the mist, its hour ring turning with the D'ni day. Once it is attached, the observatory spreads the Zero's beam through the whole Relto: the D'ni hour appears and the calendar sets itself right.
Until then the Relto only knows the date by its calendar pinnacle, which drifts by a few yahr, and the hour is silent. (That the beam carries D'ni time is this plugin's own extension of the lore.)
On the observatory's left wall hangs a small brass pendulum, set by hand, that beats the prorahn mechanically (“A D'ni pendulum, set by hand: it counts the prorahn, it does not know the hour”). It strikes one side, then the other, once per prorahn, and the stop it touches glows for an instant: the true Zero's pulse always peaks exactly then.
Anything else slides against it: a faint older pulse drifts a little further from the swing beat after beat, and a pulsar's or a neutron star's false beat is plainly off.
With the close-up room sounds you hear it too: a dry wooden tick per swing, distinct from the pulse's note, so you can hear the two come apart. With reduced motion the pendulum stays at rest and a small lamp on each side marks the beat.
Way of the instruments (Ages & mechanisms) sets the telescope and the Imager together.
The rewards are the same (the Zero, the D'ni clock, charted stars, the hour over there, KIPS).
The telescope works at the scale of star systems; the Imager then finds the planet. Every Age's star has a real place in the GZCS (Torahn, distance and elevation from the Great Zero), drawn from its star blocks (how many suns, their colours, a binary orbit) and a star seed.
By default each Age has its own star; write the same system: Kerath line in several Ages that share the same star blocks and they share one system, charted together. Change an Age's star and its system moves: rewriting moves the world.
What the Details tab says. It adds to the surveyor's note what one perceives of the Great Zero from that Age:
At the telescope. Once your Relto's Zero is found, lay an Age's book on the lectern at the foot of the instrument (‹ › to choose; empty lectern: back to your own Zero). The two wheels now aim where the Zero appears seen from that Age, and a third, small wheel sets the pulse's Delay: how late it comes after the metronome's beat, read in rahnfee (below; the rim moves a 25th, the hub a 625th, that is 25 shahfeetee of travel).
In the eyepiece the same pulse guides you, and an amber ring, the Age's echo, beats before or after it until the delay is right (“The echo comes after the pulse: more delay”).
Within the tolerance (200 torantee, 2 shahfeetee, one notch of delay), the star is charted: the instrument itself subtracts (Relto → Zero) minus (Age → Zero), and the plate Star of the Age engraves its GZCS position (Torahn and elevation, then its distance along the beam in rahnfee). No arithmetic by hand. A star must be charted from a Relto whose Zero is found; forgetting the Zero forgets the stars too.
Calibration is a bonus: the Imager works exactly as before without it. With the Age's star charted, a small sync micrometer appears beside the screen, under a window with a hairline: turn it (rim five notches, hub half a notch) until the world crosses the hairline.
In sync:
Until then, the Age's hour stays uncertain: time is gained by knowing where you are.
The calibration drifts: intact for a real week, it then wears off over the next week (the image softens, the hour becomes uncertain again, the micrometer slips off the hairline); sync again to make it new. If the Age's star is rewritten after syncing, its Details tab says that “the signal has changed”.
Their traps apply in the Art of the Guild only. Some regions of space hold a pulsar, a neutron star or a black hole, whether you write them or not: they belong to the region (about one star in ten feels one, nearby stars share them, and none lies close to the Great Zero, so your nearest Ages stay easy to chart).
Writing pulsar, neutron_star or black_hole only describes what is there: the book then names a world whose star has one nearby (if the star you wrote has none, the world is placed by a star that does; rewriting moves the world). They show in the generative window's sky.
At the telescope they make a star hard to chart:
The surveyor's notes say it in words (“A second, faster beat crosses the Zero's”; “The Zero's light comes bent, smeared into an arc”), and with full notes add the false beats per 25 prorahn and the distance of each dead star.
Such a star can still be charted by looking past the lure, or indirectly: once two charted stars lie nearby (within 6,000 shahfeetee), pull the Beacons lever between the wheels: “The charted stars agree”, and the bent light and false beat fall away.
It exists in the Art of the Guild only. Not everything the instrument shows early on is what it seems: maybe you could explore and find out.
The parchment roll at the top right of the observatory unrolls a chart: the Great Zero as a compass rose at the centre, your Relto, and every charted star system (a constellation, each star joined to its nearest neighbour), with its Ages (first name drawn, all of them on hover) and its dead stars in cinnabar.
The plane of the Zero is seen at a slant, like a table, and each star hangs on a plumb line from its foot on the plane: solid above it, dotted below. North is the line the instrument holds; distances go by square root so near and far fit on one sheet, and heights have their own scale, engraved in a corner (next to the distances they would be invisible).
One well-charted Age is enough to anchor it. Ink on paper: it reads the same in light and dark themes.
The calibration drift depends on the Age's physics.
The Details tab says why.
The coordinates are those of the Great Zero Coordinate System, in shahfeetee, but for the Ages they are shahfeetee of the beam: the length of the path the pulse travels through the Art to reach the Zero, not a distance through space. It is the Cavern's unit, measuring something else, so it has no equivalent in kilometres: a value of 15,000 means far along the beam, nothing more. The Art links worlds across universes, not across the sky; the Great Zero is the reference for that linking.
The rahnfee. For these lengths of the beam the instruments use the rahnfee (plural rahnfeetee): the length the Great Zero's pulse travels along the beam in one prorahn, that is 25³ = 15,625 shahfeetee of the beam.
There is no decimal point: each place is engraved in its own small window, like the dials of a surveyor's instrument.
Distances read in rahnfee: the Delay wheel, the distance row of the Great Zero and Star of the Age plates, the KIPS distance, the surveyor's full notes and the star chart. Every elevation stays in shahfeetee, the Cavern's scale and the KI's convention.
Far worlds. About one star in six lies beyond a whole rahnfee; its pulse arrives a whole beat late, then a fraction. The Delay wheel only reads the fraction: the whole beats go on a small brass counter beside it (its digit is engraved bare before the windows).
To count them, watch the strong beat: once a gorahn (every 25 beats) the Great Zero strikes harder and the pendulum's stroke glows gold. With the right count, the echo's strong beat comes back on that marked stroke, one stroke off otherwise.
Stars charted before far worlds existed keep their engraving.
The rahnfee is a fan-made unit, built from prorahn and shahfee; not an attested D'ni word.
At the foot of the cabin shelf, two books look different from the Ages (also in the Pages tab, and by commands):
age-library: blocks, reactions, variants) and Library of the Relto (relto-library: Relto pages).Age Library.md, Relto Library.md, in the library folder if set), which is created with a commented example if it does not exist yet. The note is never opened.A Relto page's syntax accepts page lagoon: Lagoon | vegetation 0.5 palm or page_lagoon: Lagoon | vegetation 0.5 palm.
The wheel of views (top left) switches between the island view (opening view) and the global view: the Relto seen from afar, the island at the centre in the sea of mist, rock pinnacles emerging. Pages add their elements there: islets (page Islets), the rope bridge joining them, the calendar pinnacle (page Calendar pinnacle, which carries the D'ni day), the sky (moon, comet, rain, storm, birds, aurora, snow). A click on the island ("Your Relto") returns to the island view.
| Page | What it adds |
|---|---|
| Rain, Storm | rain; storm with spaced lightning and a darkened sky (rain, storm, density 0 to 1) |
| Birds, Butterflies | birds crossing the sky (mostly by day); butterflies fluttering around the island |
| Moon & sun | a large moon and its small companion, visible by day too |
| Comets | now and then a comet slowly crosses the sky (a pass lasts 40 to 60 s), bluish-white head and long soft tail; mostly at night, faint by day. comet density = how often (from about every 8 minutes at 0 to about every minute at 1); also in the global view |
| Dock | a dock in the mist, right of the island, with a boat and a lantern at night (becomes a rope bridge to the pinnacle when the Calendar pinnacle page is active, and a second bridge leads to the D'ni clock when it stands in the mist) |
| Bench | a wooden bench |
| Islets | floating islets behind the island (density = number) |
| Calendar pinnacle | a standing stone on an islet that shows the D'ni day (a few yahr off until the D'ni clock sets it right) |
| D'ni clock | a brass armillary sphere on its own pillar in the mist; unlocked by finding the Great Zero, it brings the D'ni hour (see The telescope). Click it to see it up close: four rings carry the vailee, yahr, gahrtahvo and tahvo, each turning at its own pace with its engraved D'ni numerals, read under the index at the top; a digit glows briefly when its unit changes; the plinth bears the date and hour in D'ni numerals and the vailee's name |
| Blue flowers | low flowers along the ground (asset: blue, red, yellow, white, pink) |
| Grass | tall grass along the ground |
| Ponderosa pines, Maples, Crystal tree | background trees (vegetation with asset ponderosa, maple, crystal) |
| Stalk tree | a single stalk tree (page_stalk_tree) |
| Flying lanterns | lanterns floating up into the sky |
Each page is a preset ("New page"), and all these effects can also be written in a relto-library block, for example page rain: Rain | rain 0.9, birds 0.4 | audio=soft_rain.
koi_rare in the page note's properties is ogon (gold), platinum or ghost. With no value, the variety is drawn from the Relto seed. koi_name names the rare koi (default "Ogon", "Platinum" or "Ghost"). A click on the koi (or the cat) shows its name for a moment.cat_name gives its name (shown on hover) and cat_color its coat: black, white, orange, grey, cream, tabby, calico, tuxedo, siamese, or a #rrggbb code.cat_sleep in the page note (or sleep= in a library line): auto (default), always (always by the fire) or never (always outside).relto-library block: page cat: Cat | cat color=black name="Little Wolf" sleep=auto and page pond: Pond | koi 0.8 rare=platinum (koi density sets the number of carp).Trees (pines, birches, palms) are tall and drawn in the background, behind the cabin, shelf, cat and pond, and they avoid the exact spot of the cat, the pond and the two special books: nothing hides them.
Pines, birches, palms, ferns, waterfall, fireflies, lanterns, snow, aurora, fireworks, mountain, menhirs, chimney, mist, and under the island: gems, gold, silver (veins and crystals in the rock, glittering). The mountain is bigger and carries the source of a stream that runs down to the pond and falls off the island. "New page" creates a page; you can also write them by hand (one note per page) or in a relto-library block:
```relto-library
page lagoon: Lagoon | vegetation 0.5 palm, gold 0.6 | audio=river | unlock=[[Glass Marsh]]:60
```
The shelf's books are chosen with the book pills in the Pages tab (coloured by stability; filled = on the shelf, a click toggles; sort by name or stability), or with the block's folders:, exclude:, books: options.
Everything is synthesized (Web Audio). Three gestures, three sounds, each adjustable separately:
| Gesture | Sound | Setting |
|---|---|---|
| Handling the book (the book view opens) | thud, leather, pages; then 2 to 5 clasp clicks | Book sound, Clasp clicks |
| Moving into the Age (the note opens) or touching a window | linking sound: Classic (eleven variants drawn at random), In the old manner, My own file, or Classic or my own file, at random | Linking sound |
| Turning a linking-book page | paper rustle | Turned pages |
When the book is already open, clicking a window only replays the linking sound. Ambiences (Relto, Age) start with the ♪ button; levels minimal / zen / full.
Close-up views have their own sounds (setting Close-up view sounds): a very light trickle at the pond, a purr and meow at the cat (click the cat to make it meow), a crackling fire in the cabin when the chimney page is active, a crystalline ambience in the egg room. They can come from real recordings in your vault: Settings > Sound > Relto, "Pond / Purr / Meow / Fireplace sound file" (ogg, mp3 or wav; empty = synthesized). A file with several meows is split at the silences. Files are not provided with the plugin.
alteration axis. The Age takes the stability of its weakest axis: ≥ 75% stable, 40–74% unstable, < 40% dying. Stability is recalculated each time an Age is read, with the rules in force: when the rules evolve, an existing Age may gain or lose a few points (mostly at higher rigours; at the default gentle rigour little changes). Its text, pages and draw never change.age_seed; delete it to draw a new world).drizzle: often, dawn or fog: 1/10, night (always, often, sometimes, rarely, a fraction or a percentage; dawn, morning, noon, afternoon, dusk, night). In the generative window it comes and goes with the sun, fading in and out; the draw depends on the Age's seed and the D'ni day (or the Age's own day with day_length:), so everyone sees the same weather on the same day. For stability it counts exactly like the bare line; a bare rain stays rain all the time. New blocks: drizzle, snow, rainbow, tornado, flowers; new products: scented_mist (fog + flowers), petal_rain (wind + flowers), glaze (drizzle + deep_cold), crystal_rain, ash_rain, acid_rain (drizzle + crystal / ash / acid).generative by default (the same world the Imager shows), or classic (the engine's original painted window). The generative landscape is drawn from the seed (sky, relief, vegetation, weather, reflections, foreground (picked from the Age: branch, vines, reeds, leaves, column, icicles, rocks, arch or none), one inhabited detail).ocean_world keeps the open sea, desert_world and lava_world stay dry, frozen_world stays ice.kelp (a kelp forest swaying under the water), coral (a bright reef in warm shallows), acid (bubbling pools; it eats stone into hollowed ground, iron into rust, water into bitter water, coral into salt).companion_moon, or moons: 3 for up to five, each with its own size, tint, phase and pace).prefers-reduced-motion is respected.damaged_pages (shifted zones, colour separation, frozen, ink stains), removed_pages (burnt holes), fractures as instability rises. Drawn from the book's seed.trap book. It looks normal.age-journal block written as you go through linked notes; three voices of its own: the archivist, the master, the traveller.age-library blocks define your own blocks, products, reactions and variants.In the plugin's settings tab: a Guide card (Guide and Reference buttons) then seven sections, each with an icon, a description and its current value.
| Section | Content |
|---|---|
| Books & covers | leather, cover tab, where the book opens, open on cover, cover sobriety, 3-page book |
| Sounds | sounds (general), volume, book sound, clasp clicks, turned pages, linking sound, Relto ambience and volume, close-up view sounds and optional recordings |
| Linking window | Age block tabs, rendering, size, effect, intensity, uncertain links |
| D'ni & numerals | language, numerals, font, numbers, D'ni names, D'ni time, Relto in tabs |
| Ages & mechanisms | law of change, ink, healing, mechanisms, solitude, physics of the Ages (easy / strict / off) and its severity, way of the instruments (easy / the Art of the Guild) |
| Folders | journals, refuge |
| Draw & library | engine settings: automatic properties, drawn window, open-slot draw, fold strength, library folder, default panel image |
Notable defaults: leather and cover on; book in a main tab, opened on the cover; cover "auto"; large window; ink 15 min; healing 0.05 per day; Relto ambience zen; volume 0.35; Relto in tabs on; instruments easy.
Two levels, in a window with sections, in English and French (both exportable as notes):
| Command | Role |
|---|---|
| Open this Age as a book | book view |
| Open the Relto · Open the Relto view (large) | refuge in a note · dedicated view |
| Create a Relto page | creates a refuge page |
| Generate a random Age | a coherent, stable random world as a new note in the refuge folder |
| Open the Age Writer guide · full reference | short guide · full reference |
| Save this Age's book cover (SVG) | cover as SVG |
| Create the exploration journal for this Age | journal |
| Save this Age's window as a GIF | window export |
| Generate the Age map (canvas) | map of linked Ages (blue = round trip, orange = one way) |
| Update Age data in this note / in every note | writes age_verdict, age_stability, age_axes, age_return, age_links, age_discovered, age_drawn, age_home |
| Create / Reload an Age library · Copy the built-in content | personal library |
| Open the book of glyphs · Open a library note | the Relto's special books |
| Stop the soundscape | stops the ambience |
| Forget the Great Zero (aim the telescope again) | the telescope loses the Great Zero (every Relto): blank plate, silent D'ni hour, search again |
AudioContext, Chromium renders, integration against the real main.js) plus hands-on use in Obsidian, on desktop with the light theme first. The dark theme and other themes get less testing, so tell me if something looks off.age blocks in one note: each block draws its own world.This is sandbox mode: you write worlds, explore them, tune the Imager and furnish your refuge at your own pace, with nothing to win or lose. A game mode is planned (goals, discoveries, consequences), and more to come! Ideas and bug reports are welcome in the repository's Issues.
Since 1.7.0, all the code is readable: the original engine (1.3.0, whose TypeScript sources were lost) was de-minified, renamed and split into modules in src/engine/ (registry, rules, draw, resolve, prose, glyphs, analysis, book-view, settings-tab, plugin…). The old regex patches on minified code are gone: the touch points with the extension are real calls to src/engine/hooks.js. The original 1.3.0 main.js is kept as is in legacy/ (provenance).
The build produces two versions of the same code:
dist/: readable (unminified), for reading, debugging, tracing an error;release/: minified, the one you install or publish.npm install # once (jsdom, eslint, esbuild: development only)
npm run build # src/ → dist/ (readable) + release/ (minified)
npm test # all tests, on the readable build then on the minified one
npm run lint
npm run equiv -- legacy/main-1.3.0.min.js # non-regression: 600 random Ages, old build vs new
node test/visual/make.js # render pages in test/visual/out/
npm run zip # release/ gets the plugin zip and the sources zip, named after the version in package.json
In src/:
main.js (entry point: assembles engine + extension)engine/ (the engine)Then the extension layer:
entry.js (book and block patches)ui-extras.js (panel and tabs)ui-relto.js (Relto, dedicated view, navigation)relto-render.js (canvas)relto-rooms.js (cabin, pillars, pond, pond ++, cat, grove)relto-model.js (pages, island layout)relto-scenery.jsrelto-global.jsrelto-books.js (special books, library notes)relto-glyphbook.js and relto-librarybook.js (the two books as canvas views)cover.js (covers)sound.js (sounds, room sounds)linkfx.js and genscene.js (window)law.js (law of change)mech.js (special lines)physics/ (physics of the Ages: laws, block requirements, constrained draw, sheet; design in docs/DESIGN-physique.md)geophys.js (geophysics blocks)weather.js (living weather)relto-imager.js (the Imager)imager-guild.js (its blank book, the Art of the Guild) and unwritten.js (worlds no one has written)telescope.jsstarsystem.jsperturbers.jscalibration.jsstarmap.jsrelto-telescope.js and relto-starmap.js (the telescope: Great Zero, Ages' stars, dead stars, the old line, Imager calibration, star chart)settings-ui.js (settings)guide.jsguide-ref-en.jsguide-ref-fr.js (guide and full reference)i18n.jsDetails: docs/DEV.md (in French).
NOTICE; the licence texts are in LICENSES/.tracery-grammar declared ISC, original repository Apache 2.0): the grammar used for the prose, bundled in the engine.