Opus Motion ★ Star on GitHub

Shapes · rose-curve-trace

Rose-curve pendulum trace

A red ball swings on a dotted pendulum string tracing petal loops; the outlines complete into a flower that fills pink, then zooms past camera and its colour becomes the background.

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

Rose-curve pendulum trace: three frames of the shape animation, start, middle and end
Rose-curve pendulum trace — start, middle and end of the 5.0-second motion.

What Rose-curve pendulum trace is for

Decorative parametric drawing (flower, spirograph, loader), "natural motion follows arcs", a chapter transition.

  • pendulum
  • flower
  • trace
  • arc
  • transition
  • principles

Details

Category
Shape & geometric animations
Length
5.0 s (150 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
title
Colour props
background ballColor lineColor fillColor echoColor
Mood
light, nature
Roles
subject
Pairs with
Easing graph + compare tracks, Bouncing ball (squash, anticipation, crack, hop), Mask-rise title

Use Rose-curve pendulum trace in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render rose-curve-trace --props '{"title":"ARCS","background":"#F5CA1E","ballColor":"#ED3821","lineColor":"#0B0D0C","fillColor":"#F7A7CC","echoColor":"#888578"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export rose-curve-trace --as mp4 --props '{"title":"ARCS","background":"#F5CA1E","ballColor":"#ED3821","lineColor":"#0B0D0C","fillColor":"#F7A7CC","echoColor":"#888578"}'

React / Next.js

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

<MotionPlayer
  motion="rose-curve-trace"
  props={{
    title: 'ARCS',
    background: '#F5CA1E',
    ballColor: '#ED3821',
    lineColor: '#0B0D0C',
    fillColor: '#F7A7CC',
    echoColor: '#888578',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="rose-curve-trace"
  props='{"title":"ARCS","background":"#F5CA1E","ballColor":"#ED3821","lineColor":"#0B0D0C","fillColor":"#F7A7CC","echoColor":"#888578"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "rose-curve-trace",
      "props": {
        "title": "ARCS",
        "background": "#F5CA1E",
        "ballColor": "#ED3821",
        "lineColor": "#0B0D0C",
        "fillColor": "#F7A7CC",
        "echoColor": "#888578"
      }
    }
  ]
}

Rose-curve pendulum trace props

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

PropDefaultWhat it does
background"#F5CA1E"
ballColor"#ED3821"
lineColor"#0B0D0C"
fillColor"#F7A7CC"petal fill, and the background after the zoom wipe
echoColor"#888578"offset echo outlines under the filled flower
petals6number of petal loops traced
radius0.3petal length as a fraction of the short side
framesPerPetal15frames per petal loop (pendulum swing out and back)
zoomWipetrueend with the flower scaling past the camera into a full pink frame
number"07"chapter number label ("" to hide)
title"ARCS"chapter title label ("" to hide)

Notes & credits

Technique sources:

  • video17 0:17.9-0:20.8