
Versus roster
@opus-motion-library/versus-roster
From Opus Motion Library
A row of square contender portraits separated by "vs", each in white corner brackets with a small name above; cards cut in from black, then each one in turn scales up while a mono bio types in below it, on a Klein-blue terminal screen with a scramble-decoded header and blackletter call to action.
Install
node cli/mgl.mjs add versus-roster --to <your-project>/srcWhen to use
- Good for
- "Four contenders" intros for comparisons, tournaments, model or product line-ups and team introductions.
Specs
- Length
- 130f · 4.3s
- Length type
- Fixed
- FPS
- 30
- Style
- ui
- License
- MIT
Props (15)
backgroundstring= "#1206A5"screen colour (Klein blue)
cardsarray= [{"name":"General Onyx","bio":"Cold, fast and blunt. I strike first and explain myself after the dust settles."},{"na…contenders: {name, bio, src?} (src = public/ image path; otherwise an abstract generated portrait)
imagesarray= []portrait images by index (alternative to cards[].src)
colorsarray= ["#8D8AB8","#A9D9D0","#CBB8F5","#E58682"]accent colour per contender (name highlight while hovered, avatar tint)
headerstring= "#82 THE BATTLE FOR ASCENDANCY"mono header above the row (scramble-decodes in)
ctastring= "Enter the Simulation"blackletter call to action, shown as [ … ]
brandstring= "Project Lumen"top-left blackletter brand, shown as [ … ]
cornerstring= "SIMULATION 82"top-right mono label
separatorstring= "vs"text between cards
bracketColorstring= "#FFFFFF"corner bracket colour
hoverStartnumber= 26frame the first card enlarges
hoverEverynumber= 24frames each card stays enlarged
ghostboolean= truefaint prompt-template panels behind
footerLeftstring= "[ contact ]"bottom-left footer text ("" hides)
footerRightstring= "[ rules ]"bottom-right footer text ("" hides)