Skip to content
simhood
← Dev log
  • graphics
  • simulation

Streets that curve

Streets that curve

Until now every street in the town was a straight line from one junction to the next, so every town looked like it had been drawn with a ruler. The last entry promised curves, and here they are. Some streets now bend into gentle arcs, and the rest of the town follows them: plots, buildings, travel distances, traffic fumes and the residents walking and driving along them.

The maps are the simulation’s own drawings of the same seed before and after. The 3D shots are real frames from the game’s 3D client playing back recordings of the simulated town.

Gentle bends on flat land

On flat land, some of the streets that divide the town into blocks now curve. Small streets bend most often and main roads hardly ever: about 72% of local streets, 40% of collector roads and 6% of main roads. Each bend is no tighter than a street of its kind can be driven round at its speed limit, so a car keeps the speed the town expects of that street, and travel times stay right.

Some streets stay straight on purpose: the town’s edge, the short dividers between plots, and bridges, which always cross water in a straight line.

Before: the town drawn from above, a grid of blocks where every street runs dead straight from junction to junction

Before: seed 1, every street a straight line.

After: the same town from above, the same overall layout, but many of the smaller streets now bow into shallow arcs and the blocks between them have curved edges

After: the same seed. The town keeps its layout, but look at the smaller streets: many bow gently, and the blocks between them curve with them. The main roads are still almost all straight.

The town follows the curve

A curved street isn’t just drawn bent. The plots along it are cut to its shape, and buildings line up along the arc. Distances are measured along the bend, so trips take as long as the curved route really is, and traffic fumes spread from where the cars actually drive. The moving residents walk and drive round the bends too, instead of cutting across the corner.

A tilted 3D view over the river valley town, rows of colourful houses and flats lining streets that sweep in soft arcs between the blocks, a few main roads running straight through

The river valley town in 3D. The terraces in the left half and at the bottom right follow their curving streets, while the straight main road in the middle cuts through them.

A closer 3D view of a corner in the river valley town, a street on the right bending gently away from the camera between houses and street trees

Up close: the street on the right curves away past the houses, its pavement and street trees following the bend.

Hills

On sloping ground a street can also bend to follow the slope instead of climbing straight up it. For now that rarely happens: the mountain and river valley towns sit mostly on their flat valley floors, so their curves are almost all the gentle flat-land kind.

A tilted 3D view over the mountain town, the same pattern of gently curving blocks, here with dark conifers in the gardens instead of round trees

The mountain town, seed 1. Its centre is built on the flat valley floor, so the curves you see are the flat-land bends, with pine trees in the gardens.

About as winding as a real planned town

How winding a town’s streets are can be measured by comparing the length of the route between two places with the straight line between them. Our town now scores about 1.004: routes are about 0.4% longer than the straight line. For comparison, Athens, the least winding of 100 cities measured in a 2019 study, scores 1.019. A planned town on flat land should sit at the straight end of that range, and ours now does, while still looking like it was laid out by people rather than a ruler.

What still doesn’t work

  • Building a town takes longer than before, and a big city much longer.
  • On mountain and river valley land, streets rarely bend to follow the hills yet.
  • You can’t draw your own roads yet, curved or straight. That comes with the road tool.

What comes next

The road tool is on its way, so you can lay out streets of your own, curved or straight.