3D · ocean-surface-3d
Ocean surface 3D
A perspective sea built from Gerstner waves with analytic normals, fresnel sky reflection, sparkling sun glitter, crest foam and horizon fog under a gradient sky and sun glow; low-skim, high or drifting camera.
A free, MIT-licensed 3D motion graphic from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Ocean surface 3D is for
Travel, maritime and calm brand heroes, film openers, looping website backgrounds (put the words in HTML over it). For a stylised low-poly sea use faceted-sea instead.
Details
- Category
- 3D motion graphics (three.js)
- Length
- 8.0 s (240 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- heavy (three.js / WebGL — export to video for mobile)
- Transparent overlay
- no
- Seamless loop
- no
- Text props
titlesubtitle- Colour props
deepColorshallowColorskyZenithskyHorizonsunColorink- Mood
- 3d, cinematic, nature
- Roles
- subject
Use Ocean surface 3D in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add ocean-surface-3d --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render ocean-surface-3d --props '{"title":"","subtitle":"","deepColor":"#03203A","shallowColor":"#12889E","skyZenith":"#2459A8","skyHorizon":"#B4D2E8","sunColor":"#FFE9C2","ink":"#FFFFFF"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export ocean-surface-3d --as mp4 --props '{"title":"","subtitle":"","deepColor":"#03203A","shallowColor":"#12889E","skyZenith":"#2459A8","skyHorizon":"#B4D2E8","sunColor":"#FFE9C2","ink":"#FFFFFF"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="ocean-surface-3d"
props={{
title: '',
subtitle: '',
deepColor: '#03203A',
shallowColor: '#12889E',
skyZenith: '#2459A8',
skyHorizon: '#B4D2E8',
sunColor: '#FFE9C2',
ink: '#FFFFFF',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="ocean-surface-3d"
props='{"title":"","subtitle":"","deepColor":"#03203A","shallowColor":"#12889E","skyZenith":"#2459A8","skyHorizon":"#B4D2E8","sunColor":"#FFE9C2","ink":"#FFFFFF"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "ocean-surface-3d",
"props": {
"title": "",
"subtitle": "",
"deepColor": "#03203A",
"shallowColor": "#12889E",
"skyZenith": "#2459A8",
"skyHorizon": "#B4D2E8",
"sunColor": "#FFE9C2",
"ink": "#FFFFFF"
}
}
]
}Ocean surface 3D props
17 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
deepColor | "#03203A" | deep water colour |
shallowColor | "#12889E" | shallow / crest scattering colour |
skyZenith | "#2459A8" | sky colour overhead (also what the sea reflects) |
skyHorizon | "#B4D2E8" | sky + fog colour at the horizon |
sunColor | "#FFE9C2" | sun and glitter colour |
sunElevation | 11 | sun height above the horizon in degrees (low = long glitter path) |
sunAzimuth | 6 | sun direction in degrees (0 = straight ahead) |
waveHeight | 0.8 | wave amplitude multiplier (0.3 calm - 2 rough) |
steepness | 0.3 | Gerstner steepness 0.2-0.4 (sharper crests, more foam) |
speed | 1 | wave time scale |
foam | 1 | crest foam amount (0 = none) |
glitter | 1 | sun glitter intensity (0 = none) |
fog | 0.55 | horizon fog density |
camera | "low" | low (skim) | high (look-down) | drift (slow sway) |
title | "" | optional serif title over the sea (empty = none) |
subtitle | "" | optional mono subtitle |
ink | "#FFFFFF" | title colour |
Related motions

Faceted sea
Calm 3D backdrop for island / travel / logistics / calm-brand heroes and diorama scenes; a looping website hero; put title words in HTML…
faceted-sea
Ocean waves layers
A calm looping seascape behind titles, travel / holiday / wellness / meditation scenes, podcast or lyric backdrops; set timeOfDay or your…
ocean-waves-layers
Low-poly terrain flyover
Travel and outdoors intros, game / world-building teasers, nature or sustainability titles, calm looping hero backdrops. Change `seed` for…
low-poly-terrain-flyover
Light beam ribbon
Night scenes, "spotlight on X", searching / discovery / guidance metaphors, lighthouse and projector beats; overlay mode sweeps a beam…
light-beam-ribbon
Globe (3D, day/night, arcs)
Global reach stats, travel and logistics routes, climate and space explainers, "we ship worldwide" beats. Use `textureSrc` for a real…
globe-3d
Voxel diorama
Gaming content, playful brand "worlds", kids explainers, a loader or intro that builds a place. Pass heightmap (rows of integer column…
voxel-diorama
Notes & credits
Technique sources:
- prompt-corpus: awesome-opus5-5-videos (MIT) — Gerstner ocean cases (9), original implementation