
Efecto
Pattern scroll
@opus-motion-library/pattern-scroll
Seamless tiling geometric background (dots, lines, checks, waves, diamonds, plus) scrolling in any direction, loop-perfect.
Instalación
node cli/mgl.mjs add pattern-scroll --to <your-project>/srcCuándo usarlo
- Ideal para
- Brandable looping backgrounds behind titles, lower thirds, slides and web sections; retro / Memphis / editorial wallpaper; set background transparent for a pattern overlay.
Especificaciones
- Duración
- 150f · 5s
- Tipo de duración
- Fija
- FPS
- 30
- Estilo
- paper
- Licencia
- 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