Generator · code-city
Code City
A night skyline whose lit windows read like syntax-highlighted code, in editor-theme colours.
Presets
Parameters
| Key | Label | Values | Default |
|---|---|---|---|
sky1 | Sky top | hex colour | #0d1117 |
sky2 | Sky horizon | hex colour | #1f2a44 |
building | Buildings | hex colour | #161b22 |
w1 | Window 1 | hex colour | #ff7b72 |
w2 | Window 2 | hex colour | #79c0ff |
w3 | Window 3 | hex colour | #d2a8ff |
density | Buildings | 6–40 | 18 |
height | Skyline height | 0.2–0.75 | 0.5 |
lit | Lit windows | 0–1 | 0.45 |
codeWindows | Windows as code | on / off | true |
moon | Moon | on / off | true |
stars | Stars | on / off | true |
seed | Seed | integer | 15 |
text.none | No text | on / off | false |
text.line1 | Quote line 1 | text | while (city.sleeps) |
text.line2 | Quote line 2 | text | { *ship*(); } |
text.paragraph | Paragraph | multi-line text | |
text.position | Position | center · upper · lower · top-left · top-right · bottom-left · bottom-right | upper |
text.font | Font | serif · display · sans · grotesk · mono | mono |
text.size | Text size | 1.5–16 | 3.6 |
text.color | Text colour | hex colour | #e6edf3 |