Skip to content

Loremapper v1.2.3-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@mercurial20 mercurial20 released this 15 Oct 17:16
· 241 commits to main since this release

Loremapper in Russian, rivers you paint with a brush, and softer forests.

Try it online: https://mercurial20.github.io/loremapper/. Nothing to install, and your maps stay in your browser.

An alpha: please keep a backup (Export → Editable project) of maps you care
about. Maps from earlier versions open unchanged, but maps saved by this version
need 1.2.3 or later.

Русский интерфейс / Russian interface

The whole app is now available in Russian.

  • If your browser prefers Russian, Loremapper starts in Russian. The welcome screen has a language menu next to the km/mi switch.
  • While drawing, the same menu is in the top bar, next to km/mi. Switching is instant, and your choice is remembered.
  • Numbers follow the language too (1 234,5), including peak heights and measurements on the map.
  • Built-in worlds, map styles, projections, tools and built-in icons are translated. Names you type stay as you wrote them.

Want to help translate Loremapper into another language? See Texts and translations in
CONTRIBUTING.md.

Paint rivers (alpha)

The River tool (W) now paints water like a brush:

  • any width, so the same brush makes a stream, a wide river or a lake;
  • thin rivers too: water is stored four times finer than the terrain, down to about 60 m wide on a 500 km map;
  • Shift or Alt erases water;
  • water takes the map style's colour and follows the Rivers & roads layer.

The smooth tapering river is still there: switch the River tool to Path. The brush is
marked alpha while it is being tested.

Rivers shape the land like real rivers

With Carve a valley (on by default):

  • water runs downhill all the way. The river settles on a graded profile from its mouth to its source, steep in the mountains and gentle near the sea, as real rivers do. A hill across its course becomes a gorge, and a deep basin on the way stays a lake;
  • valley sides settle to the steepness of the hills around, so a deep cut opens a wide V-shaped valley;
  • lowland rivers get a floodplain, wider for bigger rivers;
  • it never raises land or pushes it into the sea, and one undo removes the river and its valley together.

Softer forests

Forests and other painted biomes now thin out towards their edges, and the trees fade
into the open land around them. View → Biome edges sets how soft the edges are,
from Crisp to Very soft.

Smoother on modest laptops

We profiled a generated planet and found the app keeping the processor busy in many small bursts,
which turn into stutters on slower laptops. Panning, zooming and painting now spend about four
times less processor time in Loremapper's own code:

  • the mini globe no longer redraws its whole picture on every frame while you move the map;
  • it refreshes its picture of the planet once you pause editing, not between brush strokes;
  • peak heights and other numbers on the map are formatted far more cheaply;
  • the top bar no longer re-measures itself while you draw.

If the map still stutters for you, please tell us your computer and map size in an
issue: we are working on more.

Also

  • Smaller brushes: down to about 120 m for terrain and 30 m for rivers on a 500 km map.
  • The top bar fits its buttons to the window width in any language.

Tested

  • Profiled in the browser before and after: a generated standard planet, then zooming, panning, raising, smoothing and painting forests, and undo. Loremapper's own code used about four times less processor time (6.9 s → 1.75 s), the page's main thread was busy less than half as long, and no task blocked the page for more than 50 ms outside world generation.
  • 87 unit tests, lint, type-check and the production build pass. New tests check that every text has a Russian translation with the same placeholders, and that a river runs downhill, keeps deep basins as lakes, only lowers the land and changes nothing when shaped again.
  • In the browser:
    • every dialog, tool, panel and selection was opened in Russian, with a scan for leftover English;
    • switching the language while drawing;
    • painting a river across a mountain massif: the river now falls steadily from source to mouth, through a gorge with a V-shaped valley, and one undo restores the ground;
    • the biome edge settings.
  • The 19 desktop checks of the editor pass.