isometric-diagrams
GitHubnpmCloud editor ↗

Stacks

A building of floors drawn from a plain model (stack/1): click a floor to open it, click it again and the stack asks its host to open it; click a member to select it. The buttons change the model as a host's state stream would; only what changed animates.

    A block

    Several stacks on one block (mountBlock): the buildings along the back of the street, a door from each onto it, a kiosk and notices across it, a road off its end. One building is open at a time: click a floor of another and the opening moves there.

      The block exported (renderBlockAnimatedSvg), its buildings in turn:

      The block, its buildings opening and closing in turn

      Exported

      The same stack as one SVG that plays by itself (renderStackAnimatedSvg), as an image:

      The stack opening and closing by itself