
特效
Pattern scroll
@opus-motion-library/pattern-scroll
Seamless tiling geometric background (dots, lines, checks, waves, diamonds, plus) scrolling in any direction, loop-perfect.
安装
node cli/mgl.mjs add pattern-scroll --to <your-project>/src适用场景
- 适合
- Brandable looping backgrounds behind titles, lower thirds, slides and web sections; retro / Memphis / editorial wallpaper; set background transparent for a pattern overlay.
规格
- 时长
- 150f · 5s
- 时长类型
- 固定时长
- FPS
- 30
- 风格
- paper
- 许可证
- 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