Try it

Playground

Pick a track, move its inputs, and choose its layers. The tracks are built with moveby build when the site is built, and drawn here with the published package, the same way a page of yours draws them.

A winding road with lanes and fields, one tree, and a sign that appears after 20 m: the first program of the Quick Start.

Loading the track…

Layers

You change the numbers a scene reads, not the scene. To change a scene or a road, edit its file and build it again: the Quick Start shows how.

What the layer list does

Every checkbox adds or removes one layer from the list that createScene receives. A change builds a new scene from the same track. The library draws the layers it is given in its own fixed order. It refuses a list that leaves out a layer whose content the track holds, and the playground shows the error it gives.