Road Network Generator

December 23rd, 2022

Project 1

Quick Navigation


Description

Created in Unity, this generator uses L-Systems to simulate differing Road Networks. We simulate type A and B roads as defined by the Department of Transport in the UK. We do this by using separate rulesets starting with the initial axiom.

Rulesets Used

Type A: F = F+F[F]
Axiom: [F][-F][--F]

Type B Ruleset: F = F[+F][-FF]
Axiom: [FF][+FF][--FF][++FF]

Where:
F - Forward, [ - Save Position, ] - Revert to position, - - Left, + - Right


Features

  • Parametric
  • Adjustable colours, size, tree count & height
  • Perlin Noise

Showcase