# Surreal city skyline generator

Your photo of buildings, read for its sky, towers, windows and wires, then rebuilt as something that cannot be: in one cold tint and one hot ink.

Open the generator: https://morph.ogeny.app/dream-city/

## Design choices

- **Cosmic & celestial** (`ornament.celestial`): Stars, suns, orbits, sparkles and planets. “Scene”: Sun behind the blocks. https://stylogeny.com/design-choices/cosmic-and-celestial/
- **Repetition & rhythm** (`space.repetition`): Repeated units create a visual cadence. “Scene”: Blocks stacked to the sky. https://stylogeny.com/design-choices/repetition-and-rhythm/
- **Collage & layering** (`layout.collage`): Overlapping fragments, cut-outs and stacked planes. “Scene”: Facade in pieces. https://stylogeny.com/design-choices/collage-and-layering/
- **Flat fields** (`color.flat-fields`): Unmodulated areas of colour. “Sky”: One flat colour. Measured on the opening picture: area in flat colour 70% with “One flat colour”, 63% with “Gradient to the skyline” and 67% with “Its own clouds”. https://stylogeny.com/design-choices/flat-fields/
- **Gradients** (`color.gradient`): Smooth blends, fades or spectral ramps. “Sky”: Gradient to the skyline. Measured on the opening picture: area in smooth blends 8.3% with “Gradient to the skyline”, 1.4% with “One flat colour” and 2.0% with “Its own clouds”. https://stylogeny.com/design-choices/gradients/
- **Extreme scale contrast** (`space.scale-contrast`): Very large against very small elements, for drama and order. Set by “Sun”. Measured on the opening picture, from 0 to 0.6: largest against typical height 4.71 → 5.00. https://stylogeny.com/design-choices/extreme-scale-contrast/
- **Photomontage** (`image.photomontage`): Cut and recombined photographs. Always. https://stylogeny.com/design-choices/photomontage/
- **Treated photography** (`image.treated-photo`): Duotone, high-contrast or posterised photographs. Always. https://stylogeny.com/design-choices/treated-photography/
- **Monochrome** (`color.monochrome`): A single hue, or black and white. Always. https://stylogeny.com/design-choices/monochrome/
- **Full bleed** (`layout.full-bleed`): Image or colour runs off every edge; no protective margins. Always. https://stylogeny.com/design-choices/full-bleed/

## How it works

- Reads the photo before it draws: sky, clouds and their brightest point, wires, skyline, separate towers, trees, ground, windows and the rhythm of floors and bays. Every scene is built from what it found.
- Walls are traced into a few nested tones of one cold tint, levelled over the walls alone; one hot ink is kept for the sun and the lit windows.

It never does:

- Never embeds the photo, and finds no faces or people: windows are dark or light patches in rows and columns, nothing more.
- No famous skyline, building or poster is copied; the sun is a plain disc, never rays.

## Controls

- `scene` Scene (sun | stack | pieces | read; default sun): What happens to the photo. Each scene uses what was recognised in it: the sky, the towers, the windows and their rhythm.
- `sky` Sky (flat | gradient | storm; default flat): What replaces the sky that was found. Its own clouds keeps the photo’s clouds in three flat tones. One flat colour: Measured on the opening picture: area in flat colour 70% with “One flat colour”, 63% with “Gradient to the skyline” and 67% with “Its own clouds”. Gradient to the skyline: Measured on the opening picture: area in smooth blends 8.3% with “Gradient to the skyline”, 1.4% with “One flat colour” and 2.0% with “Its own clouds”.
- `sun` Sun (0–0.6, default 0.28): The sun’s size, as a share of the width. It is placed in the sky, partly behind the blocks, near where the photo’s sky was brightest. 0 leaves it out. Measured on the opening picture, from 0 to 0.6: largest against typical height 4.71 → 5.00.
- `lit` Lit windows (0–1, default 0.3): The share of recognised windows lit in the sun’s colour. In the loop each window is lit for that share of it, from its own moment on.
- `layers` Repetition & rhythm (2–9, default 6): How many copies of the blocks rise behind the photo before they fade into the sky. Measured on the opening picture, from 2 to 9: pixels on an edge 26% → 39%.
- `rise` Layer height (0.5–2, default 1): How far each copy rises above the one in front of it.
- `size` Piece size (0.5–2, default 1): Pieces are two floors by two bays of the facade where that rhythm was found; this scales them.
- `scatter` Lean (0–1, default 0.6): How far the pieces lean, up to 42 degrees either way.
- `tones` Tone steps (3–7, default 5): How many flat tones the walls are traced into, from the darkest to the lightest of the tint.
- `wires` Keep the wires (default true): Wires found across the sky stay as thin lines, over the sun.

## About Surrealist Graphics

Surrealist pictures make the impossible look plausible: ordinary things, photographed or drawn with care, put together in a way no street allows. Photomontage was one of the movement’s main tools from the 1920s on, and architecture suits it well, because a city is already a repetition of the same few forms.

This generator reads your photo before it draws. It finds the sky, the clouds in it and where it is brightest, wires across it, the skyline and the separate towers under it, trees, the ground, and the windows with the rhythm of their floors and bays. Choose What it recognises to see all of it labelled. Nothing is detected about people. Your photo stays on your device.

Each scene is built from what was found: the sky becomes one flat colour with a sun placed partly behind the blocks; copies of the blocks rise behind the photo and fade into the sky; or the facade is cut into pieces two floors by two bays and scattered at angles. The walls are traced into a few flat tones of one tint, so the result is a vector picture, not a filtered photo.

Surrealist Graphics in Stylogeny (1924–1960): https://stylogeny.com/styles/surrealism/

## Where surreal city photomontage comes from

Surrealism was launched in Paris in 1924 with a manifesto that sent artists looking for the marvellous in dreams, chance and the unconscious. Its graphic side worked with scissors and the darkroom. It made collages from old engravings with the joins hidden, solarised prints, double exposures and photographs taken without a camera.

Its painters set impossible meetings of objects in deep, empty spaces with long shadows. They rendered them so carefully that they looked real. Through art magazines and, in the war years, exile in New York, these devices reached fashion, advertising and book design on both sides of the Atlantic.

The typography beside them stayed quiet so the picture could carry the shock. Digital photo editing made the same moves easy. A city photographed and then made impossible is now a familiar kind of poster and cover.

## How the generator turns a photo into a dream skyline

Windows are found as a person reads a facade. They are boxes that differ from the wall on all four sides, kept only where they line up in evenly spaced rows or columns. Where a row crosses a column and nothing was found, the box the grid predicts is checked again, which catches a window in shade.

The sky is flooded in from the top edge through smooth areas. Wires are thin dark runs with sky on both sides, and a jump in the roofline starts a new tower.

Scene picks the move: Sun behind the blocks, Blocks stacked to the sky or Facade in pieces. Sky replaces what was found with One flat colour, a Gradient to the skyline or Its own clouds, and Sun sets the disc’s size. Lit windows sets the share glowing in the hot ink, and Tone steps how many flat tones of the cold tint the walls are traced into.

## Ideas for a surreal architecture poster

A photo of a housing block, an office tower or the street outside becomes a poster for a film night, a cover for an album or a print for a wall. The Portrait format suits a post, Poster exports at A3 and 300 dpi, and Story fits a phone screen edge to edge.

The Video button records the loop: windows lighting and going dark across the facade, copies of the blocks climbing into the sky, or pieces clicking round. Your photo is read in your browser and never leaves your device. The SVG holds only traced shapes, never the photo. The SVG, PNG and video are yours to use.

## How to choose a photo for a surreal skyline

Pick a photo of buildings with a clear sky above them, taken fairly straight on. Windows on walls seen very steeply, far in the distance or behind balconies are often missed, so a facade that fills a good part of the frame works best for Facade in pieces.

Choose What it recognises first to see what was found: the sky, the towers and the boxed windows. Three or four Tone steps give a bold poster, six or seven keep more of the wall’s light and shade. Keep Lit windows to a modest share, so the hot ink stays an accent, and check it on a proof before printing.

## Recipe

```json
{
  "tool": "dream-city",
  "v": 2,
  "seed": 2,
  "format": "portrait",
  "params": {
    "scene": "sun",
    "sky": "flat",
    "sun": 0.28,
    "lit": 0.3,
    "layers": 6,
    "rise": 1,
    "size": 1,
    "scatter": 0.6,
    "tones": 5,
    "wires": true
  },
  "palette": "surrealism"
}
```
