Skip to content
Generator · code-city

Code City

A night skyline whose lit windows read like syntax-highlighted code, in editor-theme colours.

Presets

Parameters

KeyLabelValuesDefault
sky1Sky tophex colour#0d1117
sky2Sky horizonhex colour#1f2a44
buildingBuildingshex colour#161b22
w1Window 1hex colour#ff7b72
w2Window 2hex colour#79c0ff
w3Window 3hex colour#d2a8ff
densityBuildings6–4018
heightSkyline height0.2–0.750.5
litLit windows0–10.45
codeWindowsWindows as codeon / offtrue
moonMoonon / offtrue
starsStarson / offtrue
seedSeedinteger15
text.noneNo texton / offfalse
text.line1Quote line 1textwhile (city.sleeps)
text.line2Quote line 2text{ *ship*(); }
text.paragraphParagraphmulti-line text
text.positionPositioncenter · upper · lower · top-left · top-right · bottom-left · bottom-rightupper
text.fontFontserif · display · sans · grotesk · monomono
text.sizeText size1.5–163.6
text.colorText colourhex colour#e6edf3