
Effect
Pattern scroll
@opus-motion-library/pattern-scroll
From Opus Motion Library
Seamless tiling geometric background (dots, lines, checks, waves, diamonds, plus) scrolling in any direction, loop-perfect.
Install
node cli/mgl.mjs add pattern-scroll --to <your-project>/srcWhen to use
- Good for
- Brandable looping backgrounds behind titles, lower thirds, slides and web sections; retro / Memphis / editorial wallpaper; set background transparent for a pattern overlay.
Specs
- Length
- 150f · 5s
- Length type
- Fixed
- FPS
- 30
- Style
- paper
- License
- MIT
Props (12)
patternstring= "dots"dots | lines | checks | waves | diamonds | plus
cellnumber= 90tile size in u (min 26)
anglenumber= -20rotation of the whole pattern, degrees (also sets scroll direction)
speednumber= 0.6cells per second along the pattern x axis; whole number of cells per clip loops seamlessly
alternateboolean= falseevery second row scrolls the opposite way
thicknessnumber= 0.34mark size / stroke weight (fraction of a cell)
accentEverynumber= 7every Nth tile uses the accent colour (0 = none)
pulsenumber= 0size breathing wave across the pattern (0 = none)
fadenumber= 0fade the pattern out towards the edges (0..1)
backgroundstring= "#101826"CSS background; "transparent" = overlay
inkstring= "#24344f"pattern colour
accentstring= "#ff7a59"accent tile colour