Opus Motion ★ Star on GitHub

Shapes · sonar-ping

Sonar ping + echo window

Glossy dot on paper emits sonar rings; echo arcs return and pop open a circular picture window.

A free, MIT-licensed shape animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

Sonar ping + echo window: three frames of the shape animation, start, middle and end
Sonar ping + echo window — start, middle and end of the 4.8-second motion.

What Sonar ping + echo window is for

Listening / broadcasting / searching beats; reveal examples one by one from an anchor point.

  • radar
  • pulse
  • signal
  • reveal
  • iso
  • isometric
  • measure
  • distance
  • range
  • sensor
  • ultrasonic
  • echo

Details

Category
Shape & geometric animations
Length
4.8 s (150 frames at 30 fps), best at 4.8 s
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
yes
Text props
unit
Colour props
background color windowColors lineColor echoColor pillColor
Image props
windowImages
Mood
light, paper
Roles
subject
Pairs with
Starfield night, Chat bubbles, chips & thought bubble, Embers & gold flecks

Use Sonar ping + echo window in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add sonar-ping --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render sonar-ping --props '{"unit":"cm","background":"#ECE4D7","color":"#3383CB","windowColors":["#2b6e8f","#3b2a6b","#a34b6b"],"lineColor":"#2FA493","echoColor":"#E5A24C","pillColor":"#181B30","windowImages":[]}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export sonar-ping --as mp4 --props '{"unit":"cm","background":"#ECE4D7","color":"#3383CB","windowColors":["#2b6e8f","#3b2a6b","#a34b6b"],"lineColor":"#2FA493","echoColor":"#E5A24C","pillColor":"#181B30","windowImages":[]}'

React / Next.js

tsx
import {MotionPlayer} from 'opus-motion-library/web';

<MotionPlayer
  motion="sonar-ping"
  props={{
    unit: 'cm',
    background: '#ECE4D7',
    color: '#3383CB',
    windowColors: ['#2b6e8f', '#3b2a6b', '#a34b6b'],
    lineColor: '#2FA493',
    echoColor: '#E5A24C',
    pillColor: '#181B30',
    windowImages: [],
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="sonar-ping"
  props='{"unit":"cm","background":"#ECE4D7","color":"#3383CB","windowColors":["#2b6e8f","#3b2a6b","#a34b6b"],"lineColor":"#2FA493","echoColor":"#E5A24C","pillColor":"#181B30","windowImages":[]}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "sonar-ping",
      "props": {
        "unit": "cm",
        "background": "#ECE4D7",
        "color": "#3383CB",
        "windowColors": [
          "#2b6e8f",
          "#3b2a6b",
          "#a34b6b"
        ],
        "lineColor": "#2FA493",
        "echoColor": "#E5A24C",
        "pillColor": "#181B30",
        "windowImages": []
      }
    }
  ]
}

Sonar ping + echo window props

23 parameters — change any of them to make the motion yours.

PropDefaultWhat it does
background"#ECE4D7"
color"#3383CB"
pings3number of ping cycles
pingEvery48frames per ping cycle
ringCount3
ringGap4
ringLife13
echoAngles[40,-70,160]degrees (0 = right, 90 = down) each echo comes from
windowImages[]public/ paths of images shown in the pop-out windows (falls back to colour gradients)
windowColors["#2b6e8f","#3b2a6b","#a34b6b"]
windowSize0.53window diameter as a fraction of the short side
papertrue
projection"flat"flat | iso (rings and echo arcs lie on an isometric ground: ellipses with ry = 0.5 rx)
measurefalsedraw a measurement gizmo: dashed line from the sensor to a handle on a target, live distance pill, ground ellipses and echo arcs pulsing back
targetFrom[0.5,0.78]measure: [x, y] (0..1) where the obstacle starts
target[0.76,0.34]measure: [x, y] (0..1) where the obstacle ends up
moveStart12measure: frame the obstacle starts moving
moveFrames27measure: frames the obstacle takes to move (the label counts live)
unitScale60measure: label units per short-side length
unit"cm"measure: unit text (cm, m, ft ...)
lineColor"#2FA493"measure: line / handle / ground ring colour
echoColor"#E5A24C"measure: echo arc colour
pillColor"#181B30"measure: label pill colour

Notes & credits

windowSize 0 + echoAngles [] + pings/pingEvery multiple of the length = a clean loading loop.

Technique sources:

  • video4 0:00-4:46