This study was drawn with Grok. The brief is yours to take — a prompt, not a file.
The promptinterim
You are helping me make a presentation-quality interactive 3D parametric massing study in a single HTML file, using Three.js.
Subject: an irregular residential “coral” tower on a UAE waterfront (Saadiyat-like), inspired by a photo of a jagged, pyramid-like stack of white apartment boxes — not a regular four-sided pyramid.
Build a rotatable 3D hidden-line model (solid meshes with polygon-offset and depth-tested crease and silhouette lines) with sliders for:
- height, 5–25 storeys (default around 15; as it grows taller, the plan also grows)
- facade jaggedness (a seeded deterministic noise — changing jaggedness scales the amounts, it must not reshuffle the form)
- width and depth as an uneven stretch, not a perfect uniform X/Y scale
Form:
- Irregular W-undulating plan (in and out, with balconies), default plan is a W-shaped closed polyline, not an ellipse or a circle
- Parametric rings of roughly 7.4 m apartment boxes around a twin-shaft lift core
- Floor-to-floor 3.4 m
- Windows a little off perpendicular
- Balconies, mashrabiya, louvers
- Platforms between stacked boxes so there are no V- or A-shaped gaps
- A plinth of tall slender columns (pilotis); on the seaward side the water is deeper, so those columns extend further down
- A vehicle ramp down to underground / underwater parking
- The top residential level is a duplex: stairs visible inside the apartment, and an outdoor terrace with rope LED lights that look mesmerizing at night (and reflect in the water). Service plant can sit on the duplex roof.
A small plan-drawing window: the user can freehand a closed curve (a heart becomes a heart-shaped tower; a rectangle becomes rectangular-ish).
Site (visible in the default ¾ aerial):
- Official Árdh wordmark at the bottom centre of the view, in the open space below the tower
- About 80% of the footprint over water
- Saadiyat-white sand, transparent blue water, a wet sand-to-water transition, white foam
- Landscape runs to the horizon and grows blurry with distance — no hard rectangular water-plane edge against the sky
- Faint curved swell marks in the water, slowly animated as waves moving toward the beach
- Gulf mangroves with stilt roots clearly visible in the default view (in the water, not under the tower)
- Beach life: umbrellas, kids with a moving ball, scattered people
- A little two-tone VW Type 2 bus with a surfboard on the roof, driving down the ramp into the parking
- One timber kiosk café with benches, landward
- People on about 20% of terraces and on the beach, as folded-paper figures (faceted, with crease lines, real proportions — not chibi, not flat cut-outs) with a clear walk cycle; plants with gentle motion
Four looks, switched by four clear symbols at the top centre of the view (not a single button that changes label):
- Line: the original black-and-white hidden-line drawing
- Day: the site in daylight
- Night: warm lights in a seeded subset of apartments and balconies, with reflections in the water. About a second into Night one window turns a clear warm green — a secret room (a Matrix tribute). Clicking it walks the camera inside through a moment of falling code; a man in round glasses behind a desk holds out a red pill and a blue pill. Red reveals this exact prompt, so someone else can try the same study; blue goes back out.
- Rendered: a coloured, atmospheric presentation taking its palette and mood from the hero photo — warm timber, turquoise water, white sand, pale hazy sky, soft shadows
UI: no opaque white panel. Transparent controls, contrasting solid ink (charcoal by day, light ink by night), no soft black text-shadow.
Quality: presentation-quality — a drawing you’d pin on a wall, not a default Three.js demo.