<feed xmlns='http://www.w3.org/2005/Atom'>
<title>drift/source/game/map.odin, branch main</title>
<subtitle>maps for a solarpunk future | odoo hackathon</subtitle>
<id>https://git.nsrddyn.com/drift/atom/source/game/map.odin?h=main</id>
<link rel='self' href='https://git.nsrddyn.com/drift/atom/source/game/map.odin?h=main'/>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/'/>
<updated>2026-11-21T16:05:41Z</updated>
<entry>
<title>bake a main road graph with junction nodes and directed edges</title>
<updated>2026-11-21T16:05:41Z</updated>
<author>
<name>Lars Cowe</name>
<email>120098061+LarsCowe@users.noreply.github.com</email>
</author>
<published>2026-11-21T16:05:41Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/commit/?id=f688457367f5b836eab05ba2b01f2858e5aea117'/>
<id>urn:sha1:f688457367f5b836eab05ba2b01f2858e5aea117</id>
<content type='text'>
</content>
</entry>
<entry>
<title>warp Copernicus DEM to 250 m cells, bake heightmap and hillshade blocks</title>
<updated>2026-11-21T16:03:07Z</updated>
<author>
<name>Lars Cowe</name>
<email>120098061+LarsCowe@users.noreply.github.com</email>
</author>
<published>2026-11-21T16:03:07Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/commit/?id=ecdd8c3e186f72d2765b34c8011471fdf8f53ee2'/>
<id>urn:sha1:ecdd8c3e186f72d2765b34c8011471fdf8f53ee2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bake land use areas as triangles</title>
<updated>2026-11-21T16:01:18Z</updated>
<author>
<name>Lars Cowe</name>
<email>120098061+LarsCowe@users.noreply.github.com</email>
</author>
<published>2026-11-21T16:01:18Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/commit/?id=0370e3449fcb28b2fafa475d178caff326bd2174'/>
<id>urn:sha1:0370e3449fcb28b2fafa475d178caff326bd2174</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bake a 10 km name index, add map_nearest_name</title>
<updated>2026-11-21T15:52:11Z</updated>
<author>
<name>Lars Cowe</name>
<email>120098061+LarsCowe@users.noreply.github.com</email>
</author>
<published>2026-11-21T15:52:11Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/commit/?id=4af82c976f43858eb44a5524d3d8182646a0f918'/>
<id>urn:sha1:4af82c976f43858eb44a5524d3d8182646a0f918</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bake road and river names and road refs into belgium.bin</title>
<updated>2026-11-21T15:48:42Z</updated>
<author>
<name>Lars Cowe</name>
<email>120098061+LarsCowe@users.noreply.github.com</email>
</author>
<published>2026-11-21T15:48:42Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/commit/?id=b8bd01a9e264315676b4da21bfc9cd91b57f2378'/>
<id>urn:sha1:b8bd01a9e264315676b4da21bfc9cd91b57f2378</id>
<content type='text'>
</content>
</entry>
<entry>
<title>merge dev into main (#74)</title>
<updated>2026-11-21T15:16:20Z</updated>
<author>
<name>Abdellah El Morabit</name>
<email>nsrddyn@gmail.com</email>
</author>
<published>2026-11-21T15:16:20Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/commit/?id=6c37a9848fc16d6b0d892d12f363a6d21d3e058b'/>
<id>urn:sha1:6c37a9848fc16d6b0d892d12f363a6d21d3e058b</id>
<content type='text'>
* claim cost per mode in todo.txt

* add cost per mode: fastest (time), greenest (energy), calmest (time x gusts)

Edge cost per spec with per-mode airspeed, wind and gust cached per node for the forecast hour,
admissible estimate from the strongest wind and calmest gust of the hour. Windy test snapshot
checks that each mode picks its own layers.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_013bYve58HnqwnLceqpZHAeh

* claim ground speed in todo.txt

* add ground speed: tailwind + sqrt(v^2 - crosswind^2), +6 m/s retry, 1.5 m/s floor

Replaces the airspeed + tailwind placeholder in edge_cost with the spec rule. The A* estimate adds a
bound for edges flown at the boosted airspeed, only when the wind can trigger the retry, so calm
routes are unchanged. headwind.snap checks that the retry, the floor and the crosswind limit each
decide a route. windy_routes.expected regenerated: greenest moves its diagonals to calm 550 m.

* claim energy in todo.txt

* add energy model: solar yield from cloud cover, climb and descent energy, battery constants

Greenest edges now cost (P(v, g) - S(c)) dt / 3600 + 0.25 g^2 km, vertical edges climb_kwh + 0.02
(0.12 kWh per 100 m up, 0.04 down). Cloud cover is cached per cell next to the wind cache, the A*
estimate takes the clearest sky of the hour so it stays a lower bound. cloudy.snap checks that
greenest flies around clouds and fastest does not. windy and headwind greenest expected regenerated:
the sun makes flight time cheaper next to the gust term, so greenest leaves the gusty 800 m at x 149
instead of 158 km and the headwind zigzag shifts.

* claim ground speed in todo.txt

* add ground speed: tailwind + sqrt(v^2 - crosswind^2), +6 m/s retry, 1.5 m/s floor

Replaces the airspeed + tailwind placeholder in edge_cost with the spec rule. The A* estimate adds a
bound for edges flown at the boosted airspeed, only when the wind can trigger the retry, so calm
routes are unchanged. headwind.snap checks that the retry, the floor and the crosswind limit each
decide a route. windy_routes.expected regenerated: greenest moves its diagonals to calm 550 m.

* todo: carpool network peer to peer, relay items replaced (#41, #42, #43)

* draw the OpenStreetMap credit in Roboto, embed the font with its license

* add tools/download_dem.sh: Copernicus GLO-90 tiles with pinned checksums

* claim path cleanup in todo.txt

* todo: claim expanded-node order

* record the A* expanded-node order in grid.expanded for the scan animation

* format test/main.odin

* test: mark the no-fly test zones as made-up

Co-Authored-By: Claude Sonnet 5.5 &lt;noreply@anthropic.com&gt;

* start the ship on the Brussels tower

* claim user-reported gust zones

* add user-reported gust zones, route around them

* draw the map as one static mesh, built once: draw 8.6 ms -&gt; 0.55 ms

* day / night palette, T toggles, every drawn color comes from it

* labels: flat array per frame, drop off-screen and overlapping names, one draw pass

* add path cleanup: string pulling, tower ramps, Chaikin, 250 m resample, slope limit, terrain clearance

* regenerate expected routes for the smoothed paths

* wind particles: 600, SoA, one update loop, drawn as one mesh with the map line shader

* immediate mode UI: ui_button, toolbar for mode, sim speed and theme

* add bounded message store: dedupe by id, expiry, author and total cap, append-only file

msg_read returns the reason instead of logging, so network threads can use it.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

* add peer sync: serve and sync threads, ids since T, missing messages both ways

net_dial: non-blocking connect with a timeout that checks the stop flag, so a dead peer
never holds up a hot reload.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

* add peer list: seeds from config, learn peers from peers and from dialers, forget dead ones

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

* add headless node: drift --headless --node [--port n], store and sync without a window

A store file cut off mid-append moves to .bad and the store starts empty, peers resend.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

* add weather snapshots between peers: fetch by sha256 for live offers, bounded snapshot dir

Snapshot and snapshot_check carried over from #22, one check for disk and network.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

* add trip key exchange and encrypted live positions through peers (redo of #25)

Message format v2: x25519 keys in Request and Accept. Nodes keep the latest live packet per
trip and direction in memory and cannot read it.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

* claim route bench worst case in todo.txt

* speed up the route worst case: per-direction estimate, no division per neighbour

The A* estimate bounds the cost per km separately for each grid direction from the strongest
tailwind along it, combined into one lower bound per 45 degree sector (LP duality). The loop
precomputes node steps, unit vectors and lengths per direction. Same cheapest costs as Dijkstra;
windy_routes.expected picks other equal-cost diagonals.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_013bYve58HnqwnLceqpZHAeh

* palette = design token table, night is the default theme, palette(w)

* map colors from the design: land, land use, water, buildings, roads, routes, sky per theme

* fonts: Figtree, Roboto, Roboto Mono embedded, rasterized per size, ui_text

* todo: claim more streets (#67)

* feat: arrow keys and PgUp / PgDn as controls

Co-Authored-By: Claude Sonnet 5.5 &lt;noreply@anthropic.com&gt;

* todo: link the PR

Co-Authored-By: Claude Sonnet 5.5 &lt;noreply@anthropic.com&gt;

* feat: airship model and drawing on the flat map

Low-poly airship from the design doc, built once at startup, drawn at
the ship position through an orthographic Camera3D, 80 px long, with
shadow, bank in turns and spinning props. Replaces the red triangle.

Co-Authored-By: Claude Sonnet 5.5 &lt;noreply@anthropic.com&gt;

* fix: build the airship only when a window exists

Co-Authored-By: Claude Sonnet 5.5 &lt;noreply@anthropic.com&gt;

* bake trunk, primary, secondary and tertiary roads, join road pieces (#67)

* notes: fonts and icons allowed (#64)

* bake roads from gzipped geojson, keep tertiary, clip lines to the map (#71 #72 #73)

---------

Co-authored-by: Claude &lt;noreply@anthropic.com&gt;
Co-authored-by: Lars &lt;120098061+LarsCowe@users.noreply.github.com&gt;
Co-authored-by: DarioD &lt;79237412+DarioDML@users.noreply.github.com&gt;
Co-authored-by: AndreiMikha &lt;andrei.mikhaylov00500@gmail.com&gt;</content>
</entry>
<entry>
<title>draw map lines, km -&gt; px with a fitted Camera2D (#15)</title>
<updated>2026-11-21T10:47:34Z</updated>
<author>
<name>Abdellah El Morabit</name>
<email>nsrddyn@gmail.com</email>
</author>
<published>2026-11-21T10:47:34Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/commit/?id=4545965c8edaa77b272c0543da9f236549cd60d1'/>
<id>urn:sha1:4545965c8edaa77b272c0543da9f236549cd60d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>debug tooling: configs, hubs, profiler, headless, log / dump, test, bench (#9)</title>
<updated>2026-11-21T10:00:05Z</updated>
<author>
<name>Abdellah El Morabit</name>
<email>nsrddyn@gmail.com</email>
</author>
<published>2026-11-21T10:00:05Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/commit/?id=5c6c06336fa83e6c2c34476cadc6a3298e143a57'/>
<id>urn:sha1:5c6c06336fa83e6c2c34476cadc6a3298e143a57</id>
<content type='text'>
* add DRIFT_DEBUG / DRIFT_PROFILE configs and their -define in compile.sh / .bat

* bake hubs into belgium.bin (version 2), fixed hub array in Map

* add profiler blocks and debug overlay with 120 frame graph

* add headless mode with snapshot loading and a route input file

* add logf with system and tick, state dump on F5 and --dump

* add test program: fixed snapshots and inputs compared to stored routes

* add bench program with min / avg / max per system and budgets

* record debug build time after the debug tooling

* remove the pull request size check</content>
</entry>
<entry>
<title>Format code with odinfmt, check only tracked files</title>
<updated>2026-11-21T02:44:51Z</updated>
<author>
<name>nasr</name>
<email>nsrddyn@gmail.com</email>
</author>
<published>2026-11-21T02:43:24Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/commit/?id=9b9c5fb264cd15bad3f05f32e080b15298c24e91'/>
<id>urn:sha1:9b9c5fb264cd15bad3f05f32e080b15298c24e91</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Set up drift: map data, bake tool, hot reload foundation, rules and CI</title>
<updated>2026-11-21T02:40:05Z</updated>
<author>
<name>nasr</name>
<email>nsrddyn@gmail.com</email>
</author>
<published>2026-11-21T02:40:05Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/commit/?id=fb6068241b34b9dbb5c8114657c7d93c56ce0cb9'/>
<id>urn:sha1:fb6068241b34b9dbb5c8114657c7d93c56ce0cb9</id>
<content type='text'>
</content>
</entry>
</feed>
