Prototype lightning, twinkle and firefly particles in the visual lab
The Particles tab of the visual lab now previews three persistent particle animations for mythic cards, drawn on a canvas inside the illustration or over the whole card. Lightning bolts grow from the edges towards a random point near the hero and pass behind a cut-out hero with the prismatic parallax. Twinkles pop chosen motifs in and out with a light cross at their peak. Fireflies drift on winding paths, pulse and move away from the pointer. Each animation offers a palette, a zone and its own sliders, runs only on a large or hovered card, and stays still under reduced motion. Nothing is saved on the variations yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
9f70bea523
commit
f77a0ca577
15 changed files with 1779 additions and 16 deletions
|
|
@ -420,6 +420,13 @@ $diffraction-glitter-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/
|
|||
.nebula-card[data-holo-effect="shattered-ice"][data-holo-level="2"] { --shard-scale: 0.8; }
|
||||
.nebula-card[data-holo-effect="shattered-ice"][data-holo-level="4"] { --shard-scale: 1.25; }
|
||||
.nebula-card[data-holo-effect="shattered-ice"][data-holo-level="5"] { --shard-scale: 1.5; }
|
||||
/* Particules d'une variation mythique (éclairs, scintillements) : un canvas dans l'illustration (le halo est additif dans le
|
||||
canvas, sans mode de fusion qui le noierait dans une image chargée). Pour les éclairs avec un héros détouré, son plan
|
||||
passe entre le décor (z-index 0) et le héros (2). */
|
||||
.nebula-card-flare { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; pointer-events: none; }
|
||||
.nebula-card-flare-plane { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
|
||||
/* Sur toute la carte : au-dessus de l'illustration et du holo (2), sous la description (3), le nom (4) et le symbole (5). */
|
||||
.nebula-card-face > .nebula-card-flare { z-index: 2; }
|
||||
/* Parallaxe prismatique (`prismatic-backdrop`) : l'illustration empile au plus deux calques, le décor sans le héros puis le héros
|
||||
détouré, chacun décalé au tilt selon sa profondeur (`--layer-depth` : 1 au fond, 0 au plan de la carte, négatif devant).
|
||||
`--parallax-reach` est la course du calque le plus lointain, en fraction de sa largeur ; l'agrandissement de chaque calque
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue