How to create a globe visualization with ThreeJS

    //light
    const light = new HemisphereLight(0xffffff, 0xbbbbff, 1);
    light.position.set(0.5, 1, 0.25);
    scene.add(light);

Texture and Bump map

Checkout the example below to see how bump map creates more realistic results.

Bumpmap skin example

Exercise:

To see how to map real time tweet location data to your globe using web sockets, check out Tweet Migration project.

Last updated

Was this helpful?