Skip to content

🎥 Make videos programmatically with React

734 B
Raw Blame
---
title: Spinning Globe
description: A globe rotating around its vertical axis, with editable speed, longitude, and shading.
image: https://remotion.media/elements/maps-spinning-globe-preview-074f0f12-5bf4-4357-a622-5afe8a371b5d.png
---

import {getElementDefinition} from '@site/src/components/Elements/element-utils';
import {ElementPage} from '@site/src/components/Elements/ElementPage';

# Spinning Globe

<ElementPage definition={getElementDefinition('maps/spinning-globe')} sourceFile="./spinning-globe.tsx" />

Requires WebGPU. Change the rotation speed, starting longitude, and shading in the Inspector. Negative speed reverses the rotation. Replace the texture with another equirectangular image to make a different globe.