Skip to content

Effects

Senzu ships a catalog of front-end effects with a recipe per stack (Astro, Next/React, Vue/Inertia). You ask for them in plain language («add a parallax», «make the logo fall and break the screen») or with /effect, and the agent opens ONLY the recipe for that effect. All of them have a «reduce motion» version and a decided mobile cost.

Self-contained HTML files: they open with a double click and are the base the agent adapts to the project.

Intro with a falling object and a broken screen

Section titled “Intro with a falling object and a broken screen”

An object falls, hits the screen, the screen cracks and the glass breaks into pieces that fall away and reveal the website. Also works as a loader that cracks while loading.

  • Demo: intro-rotura.html
  • Recipe: fisica-impacto.md §intro o loader con caída y pantalla rota
  • Dependencies: none
  • Interaction: «Skip intro» button and Escape
  • With «reduce motion»: No intro
  • On mobile: Fewer pieces and a smaller object
  • Try it: ?intro=1 (forces it even if it was already seen in the session) · ?intro=1&modo=loader (loader mode: the cracks advance with the loading and it breaks when done)

A chosen object falls over the website, collides with the real blocks, rests on the target and can be grabbed and thrown.

  • Demo: objeto-cae.html
  • Recipe: fisica-impacto.md §objeto que cae encima de todo
  • Dependencies: matter-js 0.20.0 (MIT; jsdelivr CDN, when the target comes into view)
  • Interaction: Drag and throw the object
  • With «reduce motion»: Appears already resting, without loading the engine
  • On mobile: Its own target (data-fisica-destino-movil): the blocks stack up

With a button, the page elements fall with gravity and pile up; they can be dragged and thrown, and Escape puts them back in place.

  • Demo: pagina-desmorona.html
  • Recipe: fisica-impacto.md §la página se desmorona
  • Dependencies: matter-js 0.20.0 (MIT; jsdelivr CDN, when the button is pressed)
  • Interaction: «Activate gravity» button, drag, Escape or «Rebuild»
  • With «reduce motion»: No gravity button
  • On mobile: The same, with the screen edges as walls

The page looks normal; a click or a falling object hits it, it cracks and splits into pieces that are the website itself (real text, no screenshots) and fall spinning in 3D. Behind it appears whatever you choose.

  • Demo: web-rota.html
  • Recipe: fisica-impacto.md §la web se rompe como un cristal
  • Dependencies: none
  • Interaction: «Break the website» button (breaks where you click), Escape skips it, «Back» rebuilds it
  • With «reduce motion»: Fade to what is behind, no breaking
  • On mobile: Fewer pieces and a shorter shake
  • Try it: ?auto=1 (an object falls after 0.8 s and breaks the website (intro mode))
Effect Skill and recipe Stacks With «reduce motion» Mobile cost
Multi-layer parallax (multi-layer parallax) gsap-scrolltrigger → scrolltrigger-patterns.md §5 Parallax por capas All Disable (static layers) Medium
Image parallax in a container (image parallax in container) gsap-scrolltrigger → effects-pro.md §Parallax de imagen en contenedor All Fixed image Low
Zoom parallax (scrub) (parallax zoom) gsap-scrolltrigger → scrolltrigger-patterns.md §11 Imagen con zoom All Image at scale 1 Medium
Pinned fixed section (sticky pinned section) gsap-scrolltrigger → scrolltrigger-patterns.md §3 Pin + scrub timeline All No pin, content in flow Medium
Stacking cards (stacked cards) gsap-scrolltrigger → effects-pro.md §Stacking cards completo All Stacked cards without pin Medium
Horizontal scroll (horizontal scroll) gsap-scrolltrigger → scrolltrigger-patterns.md §4 Horizontal scroll section All Normal vertical scroll High
Scroll-velocity (skew on scroll) gsap-scrolltrigger → effects-pro.md §Scroll velocity skew All Disable skew Medium
Header that hides (header hide-show) gsap-scrolltrigger → scrolltrigger-patterns.md §8 Sticky header que se oculta al bajar All Keep (no entry animation) Low
Reading progress (bar) (reading progress bar) gsap-scrolltrigger → scrolltrigger-patterns.md §6 Progress bar de lectura All Keep (informative) Low
Reading progress (circular) (circular progress) gsap-scrolltrigger → common_patterns.md §11.2 Circular Progress Indicator All Keep (informative) Low
Smooth scroll (Lenis) (smooth scrolling) gsap-scrolltrigger → useLenis.ts §7 Lenis con React) All Disable Lenis (native scroll) Medium
Theme change per section (section theme switch) gsap-scrolltrigger → scrolltrigger-patterns.md §14 Cambio de tema/color de fondo por sección All Instant change without tween Low
Scrollspy (active nav on scroll) gsap-scrolltrigger → scrolltrigger-patterns.md §15 Navegación activa All Keep (informative) Low
Effect Skill and recipe Stacks With «reduce motion» Mobile cost
Reveal by lines (text reveal by lines) gsap-scrolltrigger → scrolltrigger-patterns.md §10 Texto por líneas con SplitText All Visible text without animation Low
Reveal by characters (text stagger by chars) gsap-scrolltrigger → common_patterns.md §5.4 Text Stagger All Visible text without animation Medium
Scramble (scrambled text) gsap-scrolltrigger → common_patterns.md §7.2 Scrambled Text Effect All Show final text directly Low
Typewriter (typewriter) gsap-scrolltrigger → common_patterns.md §7.3 Typewriter Effect All Show final text directly Low
Gradient text with shine (gradient text) ui-ux-pro-max → modern-look.md §7 All Keep (it is static) Low
Number counter (number counter) gsap-scrolltrigger → scrolltrigger-patterns.md §7 Contador numérico All Show final value directly Low
Effect Skill and recipe Stacks With «reduce motion» Mobile cost
Curtain image reveal (curtain reveal) gsap-scrolltrigger → common_patterns.md §8.1 Image Curtain Reveal All Visible image without animation Low
Clip-path image reveal (scale reveal) gsap-scrolltrigger → common_patterns.md §8.2 Image Scale Reveal All Visible image without animation Low
Before/after slider (image comparison) gsap-scrolltrigger → effects-pro.md §Before after slider All Keep (manual control) Low
Frame-by-frame video scrubbing (canvas) (canvas image sequence) gsap-scrolltrigger → scrolltrigger-patterns.md §13 Hero con video scrubbing por frames All Static poster High
Video scrubbing with currentTime (video.currentTime scrub) gsap-scrolltrigger → effects-pro.md §Video scrubbing con currentTime All Static poster or normal play High
Gallery with animated filters (Flip gallery filters) gsap-scrolltrigger → effects-pro.md §Filtros de galería con Flip All Filter without animation Medium
Infinite marquee (infinite marquee) gsap-scrolltrigger → effects-pro.md §Marquee infinito All / React only Pause or slow down a lot Medium
Infinite gallery (infinite gallery) gsap-scrolltrigger → effects-pro.md §Galería infinita All Static gallery with native scroll High
Effect Skill and recipe Stacks With «reduce motion» Mobile cost
Custom cursor (custom cursor) gsap-scrolltrigger → effects-pro.md §Cursor personalizado All Native cursor (no follower) Low (disable on touch)
Magnetic button (magnetic button) modern-web-design → interaction_patterns.md §1.3 Magnetic Button All Simple hover without attraction Low (disable on touch)
Image zoom on hover (image zoom on hover) modern-web-design → interaction_patterns.md §5.1 Image Zoom on Hover All No zoom Low
Spotlight card (border follows the mouse) (mouse-tracking spotlight) ui-ux-pro-max → modern-look.md §6 Spotlight card All No spotlight (static border) Low (disable on touch)
Shine-glow button (shiny button) ui-ux-pro-max → modern-look.md §7 Botones y texto con brillo All Simple hover without sweep Low
3D tilt on cards (3D tilt with glare) lightweight-3d-effects → tilt_patterns.md §Glare Effect All Flat card without tilt Low (disable on touch)
Effect Skill and recipe Stacks With «reduce motion» Mobile cost
Aurora (pure CSS mesh) ui-ux-pro-max → modern-look.md §4 Aurora All Static gradient (no drift) Low
Grain-noise overlay (film grain) ui-ux-pro-max → modern-look.md §4 All Keep (it is static) Low
Vanta animated background (Vanta.js background) lightweight-3d-effects → vantajs_effects.md All Static background (CSS gradient) High
Library aurora (library aurora background) animated-component-libraries → react_bits_components.md §Aurora React only Static gradient High
Mesh gradient in a custom shader (custom mesh gradient shader) threejs-webgl → shaders-basics.md §Mesh gradient / aurora en shader propio All Static gradient High
Lightweight particles (lightweight particles) threejs-webgl → shaders-basics.md §6.4 Partículas All / React only No particles or static ones Medium
Effect Skill and recipe Stacks With «reduce motion» Mobile cost
SPA page transitions (Vue) (SPA page transitions) gsap-scrolltrigger → vue.md §5 Transiciones de página Vue/Nuxt Short fade or direct cut Low
SPA page transitions (Next) (SPA page transitions) gsap-scrolltrigger → next.md §6 ScrollTrigger y rutas de Next Next/React Short fade or direct cut Low
SPA page transitions (Astro) (SPA page transitions) gsap-scrolltrigger → astro.md §5 Transiciones de página con GSAP Astro Short fade or direct cut Low
MPA page transitions (Barba.js page transitions) barba-js → transition_patterns.md MPA/static Direct cut without transition Medium
Effect Skill and recipe Stacks With «reduce motion» Mobile cost
WebGL hover distortion (WebGL image distortion) threejs-webgl → shaders-basics.md §6.3 Hover distortion sobre una imagen All Flat <img> image High
2D displacement (PixiJS displacement filter) pixijs-2d → filters_effects.md §DisplacementFilter All Flat image without filter High

The lightest option: no JS, on the compositor thread. Start here before adding a library; always inside @supports.

Effect Skill and recipe Stacks With «reduce motion» Mobile cost
Scroll-linked animation (scroll-driven animation) front-activation → css-moderno.md §Animación ligada al scroll All Static final state Low
Reveal on entering the viewport (CSS) (view() reveal) front-activation → css-moderno.md §Reveal al entrar en pantalla All No animation (visible) Low
View Transitions between pages (cross-document view transitions) front-activation → css-moderno.md §View Transitions entre páginas MPA: Astro, Blade, WordPress No transition Low
Entries with @starting-style (entry transitions) front-activation → css-moderno.md §Entradas con starting-style All Instant appearance Low
Anchored tooltips and menus (anchor positioning) front-activation → css-moderno.md §Anchor positioning All Keep (no animation) Low
Scroll-snap gallery (scroll snap gallery) front-activation → css-moderno.md §Scroll-snap con estado All Keep Low

Silhouettes, cuts and masks: what takes you furthest from the boxy website. One family of shapes per project, set in the MASTER.

Effect Skill and recipe Stacks With «reduce motion» Mobile cost
Organic blob (organic blob) front-activation → formas-svg.md §Blob orgánico All Static shape Low
Wave, curve or diagonal dividers (section dividers) front-activation → formas-svg.md §Separadores entre secciones All Keep (static) Low
Clip-path morph (clip-path reveal) front-activation → formas-svg.md §Morph de clip-path All Final clip directly Low
Shaped image mask (shaped image mask) front-activation → formas-svg.md §Máscaras de imagen con forma All Keep (static) Low
Stroke drawing (SVG line drawing) front-activation → formas-svg.md §Dibujado de trazo All Full stroke Low
Morph between shapes or icons (shape morph) front-activation → formas-svg.md §Morph entre formas All Instant change Low
Text on a curve (text on path) front-activation → formas-svg.md §Texto sobre una curva All No rotation Low

When the typography IS the design. One hero piece per page; never animate reading paragraphs.

Effect Skill and recipe Stacks With «reduce motion» Mobile cost
Animated variable font (variable font animation) front-activation → tipografia-cinetica.md §Fuente variable animada All (font with axes) Fixed weight Low
Video inside the text (video text mask) front-activation → tipografia-cinetica.md §Vídeo dentro del texto All Fixed poster (paused video) Medium
Text that highlights as you read it (highlight on scroll) front-activation → tipografia-cinetica.md §Texto que se resalta al leerlo All Highlight already applied Low
Split-flap (airport board) (split-flap text) front-activation → tipografia-cinetica.md §Split-flap All Final word directly Low
Giant headline with scroll (oversized scrolling headline) front-activation → tipografia-cinetica.md §Titular gigante con scroll All Static headline Medium
Text that wraps around a moving shape (Pretext) (text wrap around moving shape) front-activation → tipografia-cinetica.md §Texto que rodea una forma en movimiento All (browser) Still shape, a single layout Medium
Headline that reflows as the width changes (Pretext) (reflowing headline) front-activation → tipografia-cinetica.md §Titular que se reajusta mientras cambia el ancho All (browser) No width animation Low
Exact height for lists and masonry (Pretext) (exact text height) front-activation → tipografia-cinetica.md §Altura exacta para listas y masonry All (browser) Keep Low
Multi-line text in canvas or WebGL (Pretext) (canvas text wrapping) front-activation → tipografia-cinetica.md §Texto en canvas o WebGL con saltos de línea All (canvas, Three, Pixi) Keep Medium

150-300 ms responses that tell the user something. If it does not tell anything, it is decoration.

Effect Skill and recipe Stacks With «reduce motion» Mobile cost
Button states (loading → done) (button states) front-activation → microinteracciones.md §Estados de botón All State change without transition Low
Animated toggle and checkbox (animated toggle) front-activation → microinteracciones.md §Toggle y checkbox animados All No transition Low
Skeleton with shimmer (shimmer skeleton) front-activation → microinteracciones.md §Skeleton con brillo All Static skeleton Low
Like with a burst (like burst) front-activation → microinteracciones.md §Like con explosión All Icon change without particles Low
Stackable toasts (stacked toasts) front-activation → microinteracciones.md §Toasts apilables All Instant appearance Low
Branded loader (branded loader) front-activation → microinteracciones.md §Loader con marca All Static loader or text Low
Full-screen menu (fullscreen menu) front-activation → microinteracciones.md §Menú a pantalla completa All Instant opening Low
Morphing hamburger (morphing burger) front-activation → microinteracciones.md §Hamburguesa que se transforma All Direct icon change Low
Preloader with real percentage (real-progress preloader) front-activation → microinteracciones.md §Preloader con porcentaje Only with heavy assets (3D, video) Bar without animation Low
Brand intro (brand intro) front-activation → microinteracciones.md §Intro de marca All No intro Medium

Objects with gravity, collisions and glass that breaks. Working demos in references/recipes/demos/. One per page, with intent (once on entry, on click or on arrival), skippable, and the engine loaded only when used.

Effect Skill and recipe Stacks With «reduce motion» Mobile cost
Intro with a falling object and a broken screen (falling object + shattered screen intro) front-activation → fisica-impacto.md §Intro o loader All No intro Medium (fewer pieces)
Loader that cracks as it loads and breaks when done (cracking loader) front-activation → fisica-impacto.md §Intro o loader Only with real heavy loading Loading bar or text Medium
The website breaks like glass (pieces = the page itself) (real page shatter) front-activation → fisica-impacto.md §La web se rompe como un cristal All Fade to what is behind Medium (fewer pieces)
Screen or section that breaks (screen shatter) front-activation → fisica-impacto.md §Pantalla que se rompe All No breaking (final state) Medium
Object that falls on top of everything and rests (object drop onto page) front-activation → fisica-impacto.md §Objeto que cae All (3D: react-three-rapier) Appears already resting Medium (2D) · High (3D)
The page collapses (page gravity collapse) front-activation → fisica-impacto.md §La página se desmorona All No button Medium
Drag and throw with inertia (drag and throw) front-activation → fisica-impacto.md §Arrastrar y lanzar All Drag without inertia Low
Physics confetti (physics confetti) front-activation → fisica-impacto.md §Confeti All No confetti (disableForReducedMotion) Low
The product explodes into particles (particle explode) front-activation → fisica-impacto.md §El producto explota + skill threejs-webgl All (canvas) Fixed image High
Cloth, rope, jelly (verlet cloth & rope) front-activation → fisica-impacto.md §Tela, cuerda y gelatina All (canvas) Static Low

HIGH cost: at most one per page, lazy, with a static fallback on mobile. Only if it adds to the message.

Effect Skill and recipe Stacks With «reduce motion» Mobile cost
Fluid that follows the mouse (fluid simulation) front-activation → webgl-avanzado.md §Fluido que sigue al ratón All (canvas) Static background High
Metaballs (metaballs shader) front-activation → webgl-avanzado.md §Metaballs All (canvas) Static image High
Dithering, ASCII and pixel (dither-ascii-pixel post) front-activation → webgl-avanzado.md §Dithering, ASCII y píxel All Static processed image High
Lightweight 3D globe (3D globe (cobe)) front-activation → webgl-avanzado.md §Globo 3D All Globe without rotation Medium
Liquid glass (refractive glass) front-activation → webgl-avanzado.md §Liquid glass All (refraction only in Chromium) Glass without distortion Medium
Animated shader noise (animated shader noise) front-activation → webgl-avanzado.md §Ruido animado en shader All Static grain Medium
  • prefers-reduced-motion is mandatory: implement the fallback from the Reduced-motion column with gsap.matchMedia() (see gsap-scrolltrigger → references/es/performance-a11y.md §6) or a CSS media query.
  • Animate only transform and opacity; no top/left/width/height/filter on scroll (they cause layout/paint on every frame).
  • No scroll-jacking or pin on pages or sections with forms, checkout or long reading content.
  • Mobile budget: at most one High-cost effect per page; on mobile, degrade or disable High-cost effects (ScrollTrigger.matchMedia / touch pointer detection).
  • Cleanup on unmount: gsap.context() + revert(), ScrollTrigger.kill(), lenis.destroy(), effect.destroy() (Vanta/Pixi/Three) in the component unmount.