The following post is a short description of an algorithm to generate a semirealistic city road network:
In modern HTML you can embed SVGs directly into your DOM. This allows for pretty visuals, using the powers of both css and svg. One use that I have had on multiple occasions is path animations.
This is an old post of mine about procedurally generating spaceships: