Opus Motion ★ Star on GitHub

FX · magnifier-loupe

Magnifier reading loupe

A thin round glass lens wanders across textbook text like a reading cursor, magnifying it 1.6× with a slight barrel bulge, a prismatic orange/magenta rim fringe with tinted ghost text, a white edge highlight and a small magnifier icon; it follows its path with a soft critically damped lag. Works over any `src` image, or as glass only over host content (backdrop "none").

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

Magnifier reading loupe: three frames of the visual effect, start, middle and end
Magnifier reading loupe — start, middle and end of the 8.0-second motion.

What Magnifier reading loupe is for

Drawing attention to fine print, a definition, a UI detail or a chart value; "look closer" and "read along" beats in explainers and product tours.

  • magnifier
  • loupe
  • lens
  • zoom
  • magnify
  • reading
  • text
  • fine print
  • detail
  • glass
  • chromatic
  • prismatic
  • cursor
  • textbook
  • education
  • overlay
  • look closer

Details

Category
Visual effects & particles
Length
8.0 s (240 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
—
Colour props
fringeOuter fringeInner
Image props
src
Mood
photo
Roles
accent

Use Magnifier reading loupe in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render magnifier-loupe --props '{"fringeOuter":"#F6BC7C","fringeInner":"#E38AE8","src":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export magnifier-loupe --as webm-alpha --props '{"fringeOuter":"#F6BC7C","fringeInner":"#E38AE8","src":""}'

React / Next.js

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

<MotionPlayer
  motion="magnifier-loupe"
  props={{fringeOuter: '#F6BC7C', fringeInner: '#E38AE8', src: ''}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="magnifier-loupe"
  props='{"fringeOuter":"#F6BC7C","fringeInner":"#E38AE8","src":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "magnifier-loupe",
      "props": {
        "fringeOuter": "#F6BC7C",
        "fringeInner": "#E38AE8",
        "src": ""
      }
    }
  ]
}

Magnifier reading loupe props

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

PropDefaultWhat it does
src""image to read over (public/ path or URL); empty = procedural textbook page
backdrop"book""book" procedural textbook | "none" = transparent overlay: only the glass is drawn (no magnified copy)
path[[1.05,0.95,0],[0.3,0.14,26],[0.16,0.19,12],[0.74,0.19,40],[0.16,0.23,12],[0.74,0.23,38…lens path as [x, y, travelFrames] in 0..1 of the reading area (left page, or the whole frame with src)
zoom1.6magnification (1.6 = source)
bulge0.12barrel bulge: extra magnification at the centre (0 = flat)
size250lens diameter in u
lag0.1follow lag in seconds (critically damped)
fringe1prismatic rim strength (0 = none)
fringeOuter"#F6BC7C"outer fringe colour (orange)
fringeInner"#E38AE8"inner fringe colour (magenta)
icontrueshow the small magnifier icon at the centre
drift0.02slow camera push on the backdrop over the clip
background"transparent"colour behind the glass in overlay mode ("transparent")

Notes & credits

Technique sources:

  • video x3 13.9-20.0 (magnifier-loupe)