Skip to content
Projects

About

Open-source 3D Earth Engine built on Three.js for digital globes, digital twins, 3D maps — terrain, 3D Tiles, atmosphere & clouds.

Science & Engineering

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+2
in 15 days
+2
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

Tellux

中文 | English

npm version npm downloads license WebGL/WebGPU

Tellux is an open-source 3D Earth engine for the web. Use it to build digital globes, digital twins, 3D maps, and other 3D Earth applications on real geographic coordinates and physical scale.

It builds on Three.js rendering and the broader open-source ecosystem, integrating mature community projects (see Acknowledgments) into a unified API for globe cameras, Cesium Quantized Mesh terrain, multi-source imagery and vector layers, 3D Tiles, 3D models, atmospheric sky, volumetric clouds, and post-processing. Developers can focus on modern web apps ranging from lightweight visualization to complex 3D Earth scenes.


🌐 Examples | 📚 Docs | 🧪 Sandcastle | 💻 GitHub


🚀 Quick start

Install

Tellux is an ESM package. When using a module bundler such as Vite, Webpack, or Rollup, install Tellux and its peer dependencies:

npm install tellux three 3d-tiles-renderer @takram/three-geospatial @takram/three-geospatial-effects @takram/three-atmosphere @takram/three-clouds postprocessing

Install optional dependencies when using MVT vector tiles:

npm install @mapbox/vector-tile pbf

Next steps

✨ Features

  • Terrain & Imagery: Cesium Quantized Mesh terrain, XYZ, WMS, WMTS, Cesium Ion imagery, and draped GeoJSON / MVT vector layers, with per-overlay day/night opacity.
  • Entity: Point, polyline, and polygon graphics, plus screen-space icons and text labels; clamp to terrain and 3D Tiles, extrude polygons, and take part in picking and order-independent transparency.
  • 3D Tiles & Gaussian Splatting: Load URL or Cesium Ion 3D Tiles, glTF / GLB models with animation, and 3D Gaussian Splatting scenes.
  • Atmosphere & Rendering Effects: Atmospheric sky, aerial perspective, volumetric clouds, day-night lighting, SMAA, lens flare, and other advanced effects. WebGL cloud textures load on demand when atmosphere and clouds are enabled, and are reused after toggling.
  • Native Three.js interop: Works with Three.js scenes, objects, coordinate conversion, and custom render loops.
  • WebGL & WebGPU: WebGL by default, plus an experimental WebGPU path for the base globe, terrain, imagery, 3D Tiles, models, atmosphere, and some post-processing.

🌍 Data sources

Tellux is a runtime and rendering engine for 3D Earth apps. It does not bind to or host base geospatial data. Combine freely:

  • Cesium Quantized Mesh terrain
  • XYZ / WMS / WMTS imagery
  • GeoJSON / MVT vector data
  • 3D Tiles scenes
  • glTF / GLB models
  • 3D Gaussian Splatting scenes

The example site's homepage uses NASA Blue Marble z0–z1 tiles bundled with the site. See examples/README.md for tile generation and map source configuration.

🧩 Architecture

Tellux is not a simple globe widget; it is an engine layer for 3D Earth applications.

%%{init: {"flowchart": {"subGraphTitleMargin": {"top": 8, "bottom": 16}}}}%%
flowchart TB
    subgraph viewer["Viewer"]
        direction TB

        subgraph earth["Terrain & Globe"]
            direction LR
            globe["globe"]
            terrain["terrain"]
        end

        subgraph imagery["Imagery"]
            overlays["overlays"]
        end

        subgraph tiles["Scene 3D Tiles"]
            tilesets["tilesets"]
        end

        subgraph objects["Models / Entities / Instancing"]
            direction LR
            models["models"]
            entities["entities"]
            hism["hism"]
        end

        subgraph nav["Camera & Controls"]
            direction LR
            camera["camera"]
            controls["controls"]
        end

        subgraph state["Scene & Clock"]
            direction LR
            subgraph scene["scene"]
                direction LR
                atmosphere["atmosphere"]
                clouds["clouds"]
            end
            clock["clock"]
        end

        subgraph out["Output & Highlight"]
            direction LR
            renderer["renderer"]
            postProcess["postProcess"]
            highlighter["highlighter"]
        end
    end

    subgraph runtime["Runtime<br> "]
        direction TB
        three["Three.js"]
        tileslib["3d-tiles-renderer"]
        takram["takram"]
        pplib["postprocessing"]
    end

    gpu["WebGL / WebGPU"]
    viewer --> runtime --> gpu

🌱 Acknowledgments

Tellux is built on these open-source projects, with thanks to all contributors:

Thanks to everyone advancing the modern Web 3D ecosystem, and to every developer who keeps sharing and creating. ❤️

⚖️ License

MIT. Tellux is free for commercial and non-commercial use.

Explore related projects

Loading…