Opus Motion ★ Star on GitHub

Recipe · landscape · 2 scenes

Ocean / science explainer

Open a science or nature explainer: a serif title over the ocean, then a depth-gauge descent past landmarks with light rays.

  • ocean
  • science
  • explainer
  • underwater
  • documentary
  • nature
  • depth
  • education
Ocean / science explainer recipe preview
Ocean / science explainer — frames from the recipe.

Motions in this recipe

Use it in Remotion, React or HTML

CLI

CLI
# render the recipe to out/ocean-explainer.mp4 (run in the library folder)
node cli/mgl.mjs recipe ocean-explainer

# copy just this recipe's source into a Remotion / React project
node cli/mgl.mjs add ocean-explainer --to ../my-app/src

React

React
import {MotionMix} from 'opus-motion-library/web';

<MotionMix recipe="ocean-explainer"
  playOnView
/>

HTML

HTML
<script src="opus-motion.element.js" defer></script>

<opus-motion recipe="ocean-explainer">
</opus-motion>

recipes/ocean-explainer.json

recipes/ocean-explainer.json
{
  "id": "ocean-explainer",
  "title": "Ocean / science explainer",
  "useFor": "Open a science or nature explainer: a serif title over the ocean, then a depth-gauge descent past landmarks with light rays.",
  "format": "landscape",
  "tags": [
    "ocean",
    "science",
    "explainer",
    "underwater",
    "documentary",
    "nature",
    "depth",
    "education"
  ],
  "background": "#020406",
  "scenes": [
    {
      "motion": "blur-in-title",
      "duration": 150,
      "transition": {
        "type": "wave"
      },
      "props": {
        "title": "THE DEEP",
        "subtitle": "where sunlight never reaches",
        "swapTo": null,
        "backdrop": "ocean",
        "size": 110
      }
    },
    {
      "duration": 300,
      "layers": [
        {
          "motion": "depth-descent"
        },
        {
          "motion": "caustics-godrays",
          "props": {
            "background": "transparent",
            "backdrop": false,
            "rayCount": 6,
            "motes": true
          },
          "blend": "screen",
          "opacity": 0.45,
          "duration": 140
        }
      ]
    }
  ],
  "notes": "Change blur-in-title.title / subtitle and depth-descent.landmarks ([{depth, label, …}]). The god-rays fade out as the descent gets dark (layer duration 140)."
}