Skip to content

Working examples

These are live, deliberately readable examples. Start with Basic viewer, then choose the page closest to your project. Each chapter links to the running example and its JavaScript source.

Getting started

  • Basic viewer and material switcher

    Basic viewer

    Mounting, events, materials, properties, and camera reads.

  • ES module viewer

    ES module

    import, await, scene reload, and cleanup.

  • jsDelivr viewer

    jsDelivr

    A pinned CDN release with no locally hosted engine files.

  • Iframe embed

    Iframe embed

    Hosted scene sharing without Viewer SDK code.

Configurators and generated geometry

  • Layer configurator

    Layer configurator

    Select variants already stored in one scene.

  • Multipart configurator

    Multipart configurator

    Load and replace independent .webex parts.

  • Generated laser-cut pendant

    Laser-cut pendant

    Generate GLB bytes and merge them into a running viewer.