Skip to content

Examples

Reference. One page per runnable script in examples/. Every page contains the complete script — copy it, run it, change it.

For rendered screenshots of a curated subset, see the Gallery.

  • Minimal point 01 · A point with a label — the smallest useful scene.

  • Shapes and materials 02 · Shapes and materials — polygons, polylines, boxes, cylinders.

  • Multiple cities 03 · Multiple cities — billboards and labels per city.

  • Time-dynamic satellite 04 · Time-dynamic satellite — a sampled path with a clock.

  • GeoJSON and data sources 05 · GeoJSON, CZML, KML — loading external data sources.

  • Terrain and imagery 06 · Terrain and imagery — configuring the globe's base layer.

  • 3D models and tilesets 07 · 3D models and tilesets — glTF models and 3D Tiles.

  • CZML export 08 · CZML export — entities for any CesiumJS application.

  • Camera controls 09 · Camera controls — fly_to, set_view, look_at.

  • Event handlers 10 · Event handlers — click interactivity with custom JavaScript.

  • 11 · Runtime control


    Drive a running viewer from Python: set the clock, pick entities, and receive click callbacks.

    Runtime control example