Cartoonish coffee cup character with a face, steam rising, and fluid bouncing animation on a cream background

Animated Coffee Cup Sticker

demo & code

In the sterile world of web interfaces, a touch of whimsy can be the difference between a user forgetting your site and remembering it with a smile. This snippet isn’t just an animation; it’s a digital sticker with a soul. It brings the static ritual of coffee to life through squash-and-stretch principles, transforming a simple icon into a living character that breathes, reacts, and delights.

Level: Advanced
Browser Support [Feb 2026]: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
A gray skeleton loader style list item morphing from a horizontal row into an expanded vertical card with additional details.

Fluid Morphing List Expansion

demo & code

Most interfaces treat layout changes as abrupt cuts in a film β€” jarring and disconnected. We reject this. UI should behave like matter, conserving momentum and mass. This component demonstrates the “impossible”: animating a flexbox container from a horizontal row to a vertical column seamlessly. It creates a sense of spatial continuity that makes the application feel not like software, but like a living organism adapting to user intent.

Level: Advanced
Browser Support [Feb 2026]: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
Three animated SVG characters representing negative, neutral, and positive states, controlled by a horizontal range slider

Interactive Emotional Feedback Slider

demo & code

Forms are traditionally cold and utilitarian. This component challenges that norm by injecting emotional intelligence into the user interface. By mapping a range slider to animated character states, we transform a simple data input into a conversation. It turns the abstract concept of “satisfaction” into a relatable, human narrative, encouraging users to engage more deeply with the feedback process.

Level: Intermediate
Browser Support [Feb 2026]: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
A neon blue SVG circle in the process of being 'unwrapped' into a flat horizontal line against a dark background.

GSAP SVG Circle Unwrapping Animation

demo & code

This GSAP SVG Circle Unwrapping Animation is a masterclass in visual sleight of hand. Instead of mathematically morphing a curved path into a straight line (which often results in distorted, unappealing stroke widths), this component creates a seamless illusion. It splits a circle into two halves and synchronizes their movement with a dynamically generated straight line, making it appear as though the circle is being physically unrolled or “unwrapped” like a ribbon.

Level: Advanced
Browser Support [Jan 2026]: Chrome 80+, Edge 80+, Safari 13+, Firefox 75+
Photo Inview Animation: Venetian Blinds Effect

Photo Inview Animation: Venetian Blinds Effect

A high-end, editorial-style web design where content appears smoothly and coordinately, creating a sense of premium quality and attention to detail.

Air Balloon Cruise

Air Balloon Cruise

A soothing dreamscape scene with smooth, infinite animation resembling a live postcard or a splash screen for a meditation app.

See the Pen Air Balloon Cruise.

Bongo Cat Codes #2: Jamming

Bongo Cat Codes #2: Jamming

A playful recreation of the Bongo Cat meme using SVG and GSAP. It features complex timelines coordinating rapid paw movements, a randomized note particle system colored via CSS variables, and a scrolling terminal code effect using drawSVG logic.

See the Pen Bongo Cat Codes #2: Jamming.

Disney+ Logo Animation

Disney+ Logo Animation

A cinematic, fluid intro identical to a streaming service splash screen, featuring glow effects, particles, and morphing to create a sense of magic and high-budget production.

See the Pen Disney+ Logo Animation.

Day and Night Toggle with SVG Animation

Day and Night Toggle with SVG Animation

An atmospheric day/night toggle where a minimal JavaScript classList.toggle trigger activates a cinematic transition across complex SVG layers. The scenery leverages linear-gradient masking and mix-blend-mode for dynamic lighting, while long-duration CSS transform properties orchestrate a seamless, parallax-like shift between solar and lunar states.

GSAP Flip Plugin Demo

GSAP Flip Plugin Demo

This demo is a showcase of GSAP’s Flip plugin, a powerful tool for animating layout changes. The Flip.getState() and Flip.from() methods are used to seamlessly transition between four different CSS layouts, creating a complex and fluid morphing animation with minimal code.

See the Pen GSAP Flip Plugin Demo.

Interactive GSAP Collage Animation

Interactive GSAP Collage Animation

This interactive digital collage is driven by a single, reversible gsap.timeline that animates dozens of absolutely positioned <img> elements into a cohesive illustration on hover. A key feature is the sophisticated text reveal, powered by GSAP’s SplitText plugin, which creates a fluid ‘waterfall’ effect. The entire composition is built to be fully responsive, using a custom SCSS --unit variable based on vmin to ensure the complex layout scales proportionally.

Animated Camera Along a Path with Three.js

Animated Camera Along a Path with Three.js

A modern Three.js setup using importmap to work with modules without a bundler - plus custom post-processing passes to create speed and glow effects.

Animated SVG Color Wave Effect

Animated SVG Color Wave Effect

Technical relevance: the use of GSAP to control strokeDashoffset on the mask with looping and different easing, - resulting in a stylized “wave” effect gliding over complex, pre-defined SVG BΓ©zier curves.

See the Pen Animated SVG Color Wave Effect.

Rain Particle Effect with HTML Canvas

Rain Particle Effect with HTML Canvas

This full-screen particle system uses the Canvas 2D context to draw short-lived, low-alpha rain streaks, relying on requestAnimationFrame for a performance-optimized background animation.

Dynamic Twinkling Particle System with Vanilla JS and Canvas

Dynamic Twinkling Particle System with Vanilla JS and Canvas

Dive into an interactive demo using pure JavaScript and Canvas 2D, where mouse movement creates a magnetic field for particles, and clicking triggers an explosion effect, implementing complex element creation and destruction logic.

JFK Speech Text Wave Animation

JFK Speech Text Wave Animation

Dynamic visualization of John F. Kennedy’s speech, where each word is a separate element, creating a “running wave” effect using CSS transformations and a JavaScript setInterval.

See the Pen JFK Speech Text Wave Animation.

GSAP Homepage Demo 4

GSAP Homepage Demo 4

An advanced interactive gallery showcasing the power of GreenSock: it utilizes custom Timelines to manage complex, multi-stage animations and x, y, scale transformations upon clicking the elements.

See the Pen GSAP Homepage Demo 4.

Zdog Rainbow 🌈 (3D Graphics)

Zdog Rainbow 🌈 (3D Graphics)

Explore lightweight 3D graphics using the Zdog library to render a vibrant, drag-rotatable isometric rainbow and clouds, demonstrating efficient pseudo-3D rendering for web UIs.

GSAP 3 Animation Deck with 3D Transforms

GSAP 3 Animation Deck with 3D Transforms

A demo of multi-step animations using keyframes within GSAP, plus subtle work with CSS filters (brightness) to simulate 3D object lighting.

Card Beam Animation Effect

Card Beam Animation Effect

Implemented motion physics for an interactive carousel: uses an requestAnimationFrame loop for smooth movement and applies an inertia effect after dragging (Drag/Touch) by gradually decaying this.velocity with friction (this.friction).

See the Pen Card Beam Animation Effect.

Rainbow Loop Animation (Click to Pause)

Rainbow Loop Animation (Click to Pause)

This is an example of efficient animation composition using gsap.timeline, which synchronizes independent motion phases (.from() and .to()) of multiple <path> elements to create one complex loop.