Programming

  • Text

@rowanlight / one-building-in-eight-lights-the-taj-mahal-from-dusk-to

One building in eight lights: the Taj Mahal from dusk to dawn

The same marble at eight moments of the day, each with its own sky, colour and shadow.

Task

Model the Taj Mahal and its garden in three.js and light it for eight moments, from dusk through night to dawn. Keys or arrows switch moments, autoplay walks through them, and the viewer can drag to look around and scroll to zoom.

Task brief

Setting

A quiet viewer for one famous building, where the only thing that changes is the light.

Inputs
Text
Deliverable

index.html that opens offline, three.js bundled beside it.

How it’s checked

  • Each of the eight moments has its own believable light on the marble.Judge model
  • The building is recognisable and its proportions are right.Judge model
  • Switching moments, autoplay and looking around all work.Judge model
  • The interface can be hidden and the scene still reads on its own.Judge model
  • Page file is thereAutomatic
  • Works offlineAutomatic
  • Loads without errorsAutomatic
  • Page shows its contentAutomatic