Blog City update: skyline re-layout, starfield fixed, data pipeline now fully local
First off, thanks everyone for the support.
https://www.nodeloc.com/t/topic/116927
Pushed some more updates today.
https://github.com/mukunjin/blog-city
Skyline re-layout
Previously building height only followed activity, so tall ones clustered together, short ones clustered together, and you couldn't tell the difference in between. Now it first ranks by fresh, then spreads things out with a power curve, each range gets its own band with no overlap. Buildings are also a bit wider, so from a distance they're no longer toothpicks.
Starfield and moon
The sky dome used to be anchored at the world origin, so when the camera moved the stars shifted with it. Now it's anchored to the camera, so wherever you go the sky is overhead. Stars are drawn directly into the sky dome, and the moon is back on the skyline.
Starting camera position
Before, it opened on the whole map; now it lands directly inside the first ring, close to street level. You open your eyes and you're in the city, no need to find it yourself.
Controls
Left-drag to pan, right-drag to rotate and pitch. We didn't spell this out before; now there's a controls card in the UI.
Data pipeline
Builds no longer hit the network. CSVs and health snapshots are committed to the repo; builds only read local files, so the same commit always generates the same city. Freshness is calculated from snapshot time, not wall clock, so even if a snapshot is a few days old it won't get distorted. The sync script uses raw.github in CI and jsDelivr locally.
URL unchanged:
https://play.mukunjin.com
Left-drag to pan, right-drag to rotate, scroll to zoom in, click a building to fly over, press R to check out a random one.
Blog City 更新:天际线重排、星空修好、数据管线改成纯本地
首先感谢各位的支持。
https://www.nodeloc.com/t/topic/116927
今天又进行了一些更新。
https://github.com/mukunjin/blog-city
天际线重排
之前楼高只跟活跃度走,高的挤一堆、矮的挤一堆,中间看不出差别。现在先按 fresh 排名,再用幂次拉开,每个区间各占一段,不重叠。楼也加宽了一点,远看不再是一根根牙签。
星空和月亮
天穹之前锚在世界原点,相机一移,星星跟着偏。现在锚在相机上,走到哪片天都在头顶。星星直接画进天穹,月亮放回天际线。
开场机位
以前一打开是整张地图,现在直接落在第一环内、贴近街道高度。睁眼就在城里,不用自己找。
操作说明
左键拖动平移,右键拖动旋转俯仰。之前没写清楚,现在 UI 里有张操作说明。
数据管线
构建时不再联网。CSV 和健康快照都提交进仓库,构建只读本地文件,同一个提交永远生成同一座城市。新鲜度按快照时间算,不按墙上时钟,快照放旧几天也不会失真。同步脚本在 CI 里走 raw.github,本地走 jsDelivr。
地址没变:
https://play.mukunjin.com
左键拖、右键转、滚轮推近,点楼飞过去,按 R 随机看一间。
Translated by AI from 简体中文Original (简体中文)
1 replies
Sort order