Grid of dark cards where standard images are replaced by thousands of floating particles that change color on hover using HTML5 Canvas

Interactive Canvas Particle Image Effect

demo & code

This is an Interactive Canvas Particle Image Effect. It reconstructs standard raster images using thousands of autonomous floating particles. Its function is to create a highly tactile visual experience that reacts to cursor proximity, morphing colors based on hidden alternate image data to remove the static barrier between user and interface.

Level: Advanced
Browser Support [As of Mar 2026]: Chrome 80+, Edge 80+, Firefox 75+, Safari 13+
A dynamic, roaring flame animation with realistic turbulence and a glowing halo, rendered in real-time with PixiJS and a custom GLSL fragment shader

PixiJS Procedural GLSL Flame

demo & code

This is a PixiJS Procedural GLSL Flame. It generates a hyper-realistic, endlessly animating flame entirely through mathematical functions inside a fragment shader. Its function is to provide a high-performance visual effect without relying on video files or sprite sheets, using procedural noise to simulate the chaotic turbulence of a real fire.

Level: Advanced
Browser Support [As of Mar 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
A full-screen WebGL gallery with large photographs that distort with a sine wave effect on mouse hover and a radial blur based on scroll speed.

Twisted Wave GLSL Image Gallery

demo & code

This is a Twisted Wave GLSL Image Gallery. It’s a high-performance, full-screen WebGL experience that uses custom shaders to create sophisticated visual effects. Its function is to transform a standard image carousel into a cinematic journey with two distinct interactions: a localized sine-wave distortion on mouse hover and a global radial blur that intensifies with the speed of the scroll.

Level: Advanced
Browser Support [As of Mar 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
High-resolution urban photography transitioning with a radial zoom blur effect controlled by mouse coordinates in WebGL

Cinematic Zoom Blur Image Gallery

demo & code

This is a Cinematic Zoom Blur Image Gallery. It utilizes custom GLSL fragment shaders and Three.js to create a high-fidelity transition between image textures. Its function is to provide an immersive navigational layer for visual portfolios, where spatial depth and radial blur replace standard linear crossfades.

Level: Advanced
Browser Support [As of Mar 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Minimalist dark canvas background featuring floating orange and black geometric particles like lines and bubbles moving with random velocities.

Minimalist Canvas Animated Particle Background

demo & code

The Minimalist Canvas Animated Particle Background is an ambient UI element that generates a field of drifting geometric shapes. It serves as a non-intrusive aesthetic layer for headers or landing pages, providing depth through motion. The system alternates between “bubbles” and spinning “lines” to create a technical yet organic atmosphere.

Level: Intermediate
Browser Support [As of Mar 2026]: Chrome 36+, Edge 12+, Firefox 31+, Safari 9+
A retro arcade Pong game interface with glowing neon paddles, a bright cyan ball, and CRT scanline effects on a dark background.

Neon Vaporwave Pong Game

demo & code

This is a Neon Vaporwave Pong Game (“CODEPONG 26”). It is a complete, browser-based arcade game rendered via the HTML5 Canvas 2D API. Its function is to provide a highly polished, playable experience that demonstrates advanced frontend techniques, including a custom physics engine, an adaptive AI opponent that gets harder as the game progresses, and programmatic audio synthesis for sound effects.

Level: Advanced
Browser Support [As of Mar 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Three rotating 3D geometric shapes (Torus Knot, Icosahedron, Torus) rendered in a WebGL canvas with high-gloss matcap crystal textures

Matcap Instanced Disco Geometry

demo & code

This is a Matcap Instanced Disco Geometry demo. It renders multiple unique 3D geometries (Torus Knot, Icosahedron, Torus) using the WebGL Instanced Mesh technique. Instead of drawing individual planes for every mirror on the surface of the shape, it creates one InstancedMesh per object, mathematically orienting thousands of tiny reflective mirrors to mimic a faceted, crystal-like disco surface.

Level: Advanced
Browser Support [As of Mar 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Dark interactive canvas with vibrant neon flowers blooming and trailing along the cursor movement path

WebGL Generative Flower Cursor

demo & code

This is a WebGL Generative Flower Cursor. It transforms the cursor into a botanical paintbrush, procedurally generating complex, blooming flower patterns across the screen in real-time. Its function is to provide an immersive, artistic interaction layer that allows users to “paint” generative digital gardens.

Level: Advanced
Browser Support [As of Mar 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Minimalist 404 error page where mouse movement stamps bird-themed photography through feather-shaped masks on a white canvas

Interactive Feather Reveal 404 Page

demo & code

This is an Interactive Feather Reveal 404 Page. It utilizes the Canvas 2D API to transform a sterile error screen into a generative digital canvas. The component records user movement to stamp intricate feather-shaped paths that alternate between solid black fills and clipped fragments of external bird photography.

Level: Intermediate
Browser Support [As of Mar 2026]: Chrome 45+, Edge 12+, Firefox 31+, Safari 9+
A photograph shattering into hundreds of square fragments that fly toward the camera, revealing another image beneath

Shattering Image Gallery Transition

demo & code

This is a Shattering Image Gallery Transition. It utilizes the WebGL API via Three.js to deconstruct 2D images into a matrix of 3D particles. Its function is to replace standard fade or slide slideshows with a highly cinematic, physics-based explosion effect, transitioning between photographs by blowing the current image apart to reveal the next one underneath.

Level: Advanced
Browser Support [As of Mar 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Compact media player UI card displaying an album cover background with adaptive colored text and a squiggly draggable progress slider

Dynamic Color-Extracting Media Player

demo & code

This is a Dynamic Color-Extracting Media Player. It serves as a fully functional frontend music card component. Its primary function is to fetch real track data from the iTunes API, analyze the retrieved album artwork using the HTML Canvas API, and mathematically adjust its own UI color palette to perfectly complement the image.

Level: Intermediate
Browser Support [As of Mar 2026]: Chrome 79+, Edge 79+, Firefox 75+, Safari 14+
Perspective view of a seemingly infinite wall of movie and TV show posters tilting backwards into a dark background

Infinite 3D Poster Scroll Wall

demo & code

This is an Infinite 3D Poster Scroll Wall. It constructs a dense, continuous grid of cinematic assets rendered entirely in WebGL. Its function is to provide a visually overwhelming, highly performant “hero” background that automatically fetches live data from an external API and perpetually scrolls along a tilted perspective plane.

Level: Advanced
Browser Support [As of Mar 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Isometric 3D grid with a bright blue cube bouncing and leaving a trail on dark blue platform blocks

Isometric 3D Bouncing Cube Animation

demo & code

This is an Isometric 3D Bouncing Cube Animation. It utilizes the Zdog.js engine to render a pseudo-3D geometric scene onto a flat HTML Canvas. Its function is to provide an engaging, continuous background animation where a wandering cube paints a trail across a structural grid, adding depth and kinetic energy to otherwise static hero sections.

Level: Intermediate
Browser Support [As of Mar 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Three colorful pricing cards with interactive 3D geometric shapes rotating on hover, presented in a swipeable carousel

Interactive 3D Pricing Card Slider

demo & code

This is an Interactive 3D Pricing Card Slider. It integrates WebGL geometric renders into a standard product tier UI. Its function is to convert static pricing options into an engaging, tactile spatial experience.

Level: Advanced
Browser Support [As of Feb 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
2D arcade game interface on an HTML5 canvas showing a black character stretching a bridge across procedurally generated platforms

HTML5 Canvas Stick Hero Game

demo & code

This is an HTML5 Canvas Stick Hero Game. It uses pure JavaScript and mathematical rendering to create an interactive 2D physics puzzle. The function is to demonstrate a continuous render loop controlled by user input timing, transforming simple mouse holds into spatial calculations.

Level: Advanced
Browser Support [As of Feb 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Purple interactive button with a liquid wave deformation effect reacting to cursor proximity using SVG splines

Interactive Liquid SVG Wobble Button

demo & code

This is an Interactive Liquid SVG Wobble Button. It maps cursor proximity to discrete vector points along an SVG path, deforming the shape in real-time. Its function is to transform a static call-to-action into a physical, reactive object.

Level: Advanced
Browser Support [As of Feb 2026]: Chrome 80+, Edge 80+, Firefox 75+, Safari 13.1+
ZIM.js canvas interface displaying a space image with an active color picker eyedropper tool extracting colors to change the background.

Interactive Canvas Color Picker Eyedropper

demo & code

This is an Interactive Canvas Color Picker Eyedropper. It uses the ZIM.js framework to render a native color extraction tool directly over an image. Its function is to sample pixel data and dynamically theme the surrounding interface. The effect is immediate, bridging image content with UI styling through raw canvas manipulation.

Level: Beginner
Browser Support [As of Feb 2026]: Chrome 80+, Edge 80+, Firefox 75+, Safari 13.1+
Isometric view of a stylized 3D office room with soft lighting, rendered in a browser using WebGL and baked textures.

Interactive 3D Workspace Diorama

demo & code

We often treat web content as flat information, devoid of spatial context. This component creates a digital sanctuary. By combining soft, pre-calculated lighting with a constrained interactive camera, we invite the user to inhabit a space, not just view it.

Level: Intermediate
Browser Support [As of Feb 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Isometric 3D diorama of a cozy room rendered with Three.js, featuring baked lighting shadows and interactive orbit controls against a beige background.

Isometric 3D Little Restaurant

demo & code

Real-time rendering often demands too much power for too little soul. This component brings the warmth of a hand-crafted miniature to the browser. By leveraging baked textures, we achieve photorealistic lighting with the performance footprint of a simple image. It is not just a 3D model; it is a digital diorama that invites the user to inspect every corner with tactile orbit controls.

Level: Intermediate
Browser Support [As of Feb 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Retro arcade interface showing flying playing cards against a parallax background, with a cursor slicing through them and a score counter.

Canvas Card Slicer Game

demo & code

Modern web games often rely on bloated frameworks. This project demonstrates the raw capability of the native Canvas API combined with lightweight physics. It is a satisfying, tactile experience where the user’s cursor becomes a blade. By implementing a custom particle system and separating the collision logic (SAT.js) from the rendering, we achieve a high-performance arcade feel that runs smoothly even on modest hardware.

Level: Advanced
Browser Support [As of Feb 2026]: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
Retro arcade game interface showing a yellow Pi symbol inside a purple circular arena avoiding a rotating red scanning cone.

Stealth Pi Game

demo & code

Web games often get bogged down in heavy engines. This project is a love letter to the raw power of the HTML5 Canvas API. It is a pure, dependency-free arcade experience (save for a tiny sound synthesizer) that pits player reflexes against mathematical precision. You aren’t just moving pixels; you are navigating a vector field, dodging a ray-casting collision detector that speeds up as you survive. It is tense, fast, and built on solid geometry.

Level: Advanced
Browser Support [As of Feb 2026]: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
A split screen effect where dark horizontal bars are peeling away to the right in a wave motion, revealing the background.

GSAP Staggered Blinds Reveal

demo & code

This GSAP Staggered Blinds Reveal creates a cinematic transition effect often used in hero sections or between major content blocks. By manipulating a series of div elements acting as “slats,” the animation mimics a zipper or venetian blinds opening. As the user scrolls, the slats slide away and rotate sequentially, revealing the content underneath (or changing the state) in a synchronized wave motion.

Level: Intermediate
Browser Support [As of Feb 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Dark digital background where grid cells light up in neon teal under the cursor and slowly fade out, creating a cybernetic trail effect

Interactive Neon Grid Trail

demo & code

This Interactive Neon Grid Trail creates a sleek, cybernetic atmosphere ideal for tech portfolios or futuristic landing pages. It utilizes the HTML5 Canvas API to render a grid of invisible squares that light up in neon teal upon interaction. The effect features a “memory” mechanic where the illuminated cells hold their charge for a moment before gracefully fading back into the darkness, creating a satisfying trail behind the user’s cursor.

Level: Intermediate
Browser Support [As of Feb 2026]: Chrome 4+ , Edge 12+, Firefox 3.6+, Safari 4+
Dark UI showing current temperature and weather conditions overlaid on a 3D animated background with clouds and subtle parallax movement

Oculus II: Immersive 3D Weather Station

demo & code

Oculus II redefines the weather dashboard by blending real-time data with a cinematic 3D environment. Unlike static weather apps, it uses Three.js to render a living scene - drifting clouds, falling rain, or twinkling stars - that reacts to the mouse cursor with a subtle parallax effect. The UI floats above this world using glassmorphism, creating a sense of depth and modernity while providing live weather metrics from the Open-Meteo API.

Level: Advanced
Browser Support [As of Feb 2026]: Chrome 80+, Edge 80+, Firefox 75+, Safari 13.1+
Dark background with horizontal beige lines that ripple like water. The lines deform to spell the word 'DICH' in 3D relief.

Interactive Typographic Wave Footer

demo & code

This Interactive Typographic Wave Footer combines generative art with functional UI design. It features a field of horizontal lines that behave like a liquid surface, reacting to the user’s cursor with a satisfying ripple effect. Hidden within the wave structure is a 3D-like topographic representation of text (“DICH”), generated by mapping pixel brightness from an off-screen canvas to the vertical position of the lines. It’s a sophisticated way to add depth and interactivity to a page footer or hero section.

Level: Advanced
Browser Support [As of Feb 2026]: Chrome 50+, Edge 79+, Firefox 50+, Safari 11+
Dark background with glowing 3D neon tubes in pink, green, and blue following the mouse cursor in a snake-like motion

Neon 3D Tubes Cursor Trail

demo & code

This Neon 3D Tubes Cursor Trail brings high-end motion graphics to the web browser. Using the power of WebGL and Three.js, it generates a serpentine trail of glowing 3D geometry that fluidly follows the user’s input. The effect features dynamic lighting that casts soft glows on the tubes, and it includes a built-in interaction where clicking the screen instantly randomizes the color palette, keeping the visual experience fresh.

Level: Beginner
Browser Support [As of Feb 2026]: Chrome 80+, Edge 80+, Firefox 75+, Safari 13.1+
Dark UI button with a glowing, swirling animated background of blue, purple, and yellow smoke generated by code.

WebGL Fluid Smoke Button

demo & code

This WebGL Fluid Smoke Button elevates standard UI interactions by embedding a real-time generative shader directly into the interface. Instead of using a heavy video file, it calculates complex fluid dynamics on the fly using Fractional Brownian Motion (fBM). The result is a mesmerizing, never-repeating smoky background that reacts to hover states with a smooth scale and rotation effect, styled effortlessly via Tailwind CSS.

Level: Advanced
Browser Support [As of Feb 2026]: Chrome 90+, Edge 90+, Firefox 90+, Safari 15+
Portrait image rendered on HTML5 Canvas, split into a grid where pixels distort and flow liquid-like around the mouse cursor

Interactive Canvas Liquid Image Distortion

demo & code

This Interactive Canvas Liquid Image Distortion transforms a static image into a playful, fluid surface. By subdividing the image into a grid of tiny cells, the script manipulates the texture coordinates of each cell in response to mouse movement. The result is a “jelly-like” or refractive glass effect where the image appears to warp and ripple under the user’s cursor.

Level: Intermediate
Browser Support [As of Jan 2026]: Chrome 4+, Edge 12+, Firefox 3.6+, Safari 4+
Full-screen blue background with white circular particles rising from the bottom and popping, created with tsParticles

Rising Bubbles Particles Effect

demo & code

This Rising Bubbles Particle Background utilizes the tsParticles library to create a soothing, fluid animation reminiscent of carbonated water or an underwater scene. By leveraging the HTML5 Canvas API through a high-level configuration object, it renders performant particles that spawn from the bottom of the viewport and grow until they “pop.”

Level: Beginner
Browser Support [As of Jan 2026]: Chrome 4+, Edge 12+, Firefox 4+, Safari 3.1+
Psychedelic WebGL animation of flying through an endless field of transparent, rotating glass cubes.

Cubes

An infinite, psychedelic flight through a field of glass cubes that refract light and respond to camera interaction, creating a deep immersion into a tumbling crystalline structure.

See the Pen Cubes.

A 3D low-poly planet rendered with Three.js, featuring rotating layers of a solid core, a wireframe shell, and a particle cloud.

Three.js Gradient

A Low Poly 3D planet visualization built with Three.js, featuring three rotating layers: a solid core, a wireframe shell, and a floating particle cloud.

See the Pen Three.js Gradient.

A canvas of stars that animates into a colorful party mode when the Konami code is entered.

The Konami Code Easter Egg

Entering the Konami Code (↑ ↑ ↓ ↓ ← → ← → B A) triggers a party mode: the stars turn different colors, move chaotically to the sound of sparkle.mp3, and then return to their original state.

See the Pen The Konami Code Easter Egg.

GSAP Pixi RGB Glitch

GSAP Pixi RGB Glitch

A highly specialized visual component leveraging Pixi.js for WebGL rendering and applying real-time filters.

See the Pen GSAP Pixi RGB Glitch.

Magic Pancakes

Magic Pancakes

A unique, highly interactive Vue.js recipe application synchronizing UI progress with procedural Canvas animation.

See the Pen Magic Pancakes.

Snake Game in Vanilla JS

Snake Game in Vanilla JS

A retro-styled, full-screen Snake game rendered on HTML5 Canvas. JavaScript manages the game loop, collision detection, and array-based movement logic, while CSS provides a neon arcade aesthetic.

See the Pen Snake Game in Vanilla JS.

p5.js Glitch Image

p5.js Glitch Image

A real-time glitch art generator powered by p5.js, manipulating image data at the pixel level.

See the Pen p5.js Glitch Image.

Catblob 2

Catblob 2

A full-featured browser game with retro aesthetics, procedural level generation, intelligent enemies, and a scoring system, running smoothly thanks to a combination of Canvas for static elements and DOM for dynamic content.

See the Pen Catblob 2.

WebGL Liquid Slider Transition

WebGL Liquid Slider Transition

A high-performance WebGL slider that leverages displacement mapping to create liquid, kinetic transitions via the rgbKineticSlider library. The JavaScript configuration orchestrates intricate RGB split effects and cursor interactions rendering onto a canvas, while CSS implements a glassmorphic UI overlay using backdrop-filter to ensure the travel booking widget floats distinctively above the distortion effects.

See the Pen WebGL Liquid Slider Transition.

Generative Glitch Effect with p5.js

Generative Glitch Effect with p5.js

Experience a dynamic, generative glitch effect where the visuals are created in real-time within the p5.js draw() loop. The animation combines a sequence of pixel shifts, line flows, and RGB channel separation to create a unique, non-repeating visual every time the code runs.

CORE Tower Defense Game

CORE Tower Defense Game

This tower defense-style game leverages an object-oriented class hierarchy with p5.Vector physics to create dynamic ball interactions, where core gameplay revolves around protecting a central orb from attacker waves using a reload-managed cannon.

See the Pen CORE Tower Defense Game.

Interactive Profile Card with Canvas

Interactive Profile Card with Canvas

Canvas-powered dot grid with interactive profile components. Responsive card design featuring smooth transitions, gradient accents, and scalable SVG avatars.

3D Sign Up Button with Spline and GSAP

3D Sign Up Button with Spline and GSAP

A 3D scene from Spline is loaded using the Spline Runtime, and its objects are brought to life with programmatic animation in GSAP. This approach allows you to avoid low-level WebGL by using a powerful timeline to create complex interactive scenarios, with the code already containing stubs for finding and controlling objects.

Flipping Clock with LightningJS

Flipping Clock with LightningJS

An implementation of ‘flipping’ clocks in LightningJS where the animation is triggered via bindProp on a value change and an on('finish') callback atomically resets the component’s state for the next tick.

See the Pen Flipping Clock with LightningJS.

A Simple Platform Game Engine

A Simple Platform Game Engine

The engine implements a lightweight game loop via requestAnimFrame for smooth rendering, featuring a scriptable and fully customizable map structure defined by a simple - easily modifiable - JavaScript object.

See the Pen A Simple Platform Game Engine.

Color Collision: A Dynamic Canvas Game

Color Collision: A Dynamic Canvas Game

Vanilla JS game built with the Canvas API uses OOP principles for physics-based color-matching and implements dynamic difficulty scaling - gradually increasing ball velocity within an setInterval loop.

JS Planet Defense Game

JS Planet Defense Game

This pure Vanilla JS arcade game leverages the HTML Canvas API to render real-time projectile and enemy movement, utilizing sprites for an old-school look, and implements mouse-based aiming and firing for interactive defense against asteroids.

See the Pen JS Planet Defense Game.

Marble Labyrinth Game

Marble Labyrinth Game

This demo implements a tilt-controlled marble labyrinth using the HTML Canvas API for rendering and custom physics logic in vanilla JavaScript to handle sphere movement, gravity simulation, and collision detection with the static map geometry.

See the Pen Marble Labyrinth Game.

Tile-Based Copycat Game

Tile-Based Copycat Game

This technical demo showcases a tile-based puzzle game built on the Diorama engine, leveraging the HTML Canvas API for rendering; smooth object movement is implemented via custom tweening utilities, such as Util.easeInOutQuad, with the retro-pixel aesthetic achieved using the CSS property image-rendering: pixelated;.

See the Pen Tile-Based Copycat Game.

Interactive Product Hotspots with GSAP and PIXI.js

Interactive Product Hotspots with GSAP and PIXI.js

Uses the PIXI.js WebGL renderer to draw dynamic, hardware-accelerated connection lines between content hotspots, enhanced by GSAP for the smooth ‘magnetic’ displacement effect upon mouse hover.

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.

Morphing Shape with Spinning Color Stroke

Morphing Shape with Spinning Color Stroke

Complex Path Morphing at the intersection of technologies: the demo uses the GSAP library to interpolate coordinates sampled from SVG paths and renders the result with frame-by-frame precision using the Canvas API.