>_htmlhub
Live:Vanta Waves

htmlhub

A curated collection of lightweight, customizable HTML5/CSS/WebGL animations for modern websites. Instantly enhance your designs with copy-paste code.

Copy-paste HTMLCanvas & WebGLOffline-ready
Animation copy feed

Preview it. Copy it. Ship it.

A new hero animation loads on every refresh, or click Preview in hero on any card below.

Silk Flow Field preview
canvasIn hero
01 / Particles & Systems

Silk Flow Field

Thousands of particles stream along a flowing vector field, weaving silky ribbons of light that swirl into a vortex around your cursor.

flow fieldparticlessilkflow
Open details
Event Horizon preview
canvasIn hero
02 / 3D & WebGL

Event Horizon

Glowing matter spirals into a black hole, an accretion disk of hot particles swirling ever faster before crossing the photon ring into darkness.

black holeevent horizonaccretion diskspace
Open details
Neon Particle Network preview
canvasIn hero
03 / Particles & Systems

Neon Particle Network

Connected constellation of HSL-cycling neon particles with spatial-grid distance lines and cursor repulsion.

particlesnetworkconnectionsneon
Open details
Browse by category

Find the motion style first

Start by visual intent, then narrow by technology and performance inside the library.

HTMLHub originals

Built for copy, paste, and customization

Original and refined effects that work well as hero backgrounds, interactive accents, and fast creative experiments.

Learn

Learn with Tutorials

A practical learning shelf for builders using AI, editors, and web tools to ship polished motion.

AI

Use AI to Pick the Right Motion

  1. 1Describe the page you are building, the mood, and where the animation will sit.
  2. 2Ask AI for 3 motion directions, then search HTMLHub by category or technology.
  3. 3Open the best match in the live editor and tune colors, speed, and density.
  4. 4Copy the final code into your project and ask AI to help place it cleanly.
</>

Customize Without Starting from Scratch

  1. 1Open an effect page and launch the HTMLHub editor.
  2. 2Use the visual controls first, then edit the source only when needed.
  3. 3Ask AI to explain any unfamiliar CSS or JavaScript before changing it.
  4. 4Save the final version as a reusable snippet for future projects.
GO

Ship the Animation Safely

  1. 1Test the effect on mobile before adding it to a production page.
  2. 2Prefer lightweight effects for hero sections and high-traffic landing pages.
  3. 3Use the copied standalone file as a reference when integrating into Astro, React, or plain HTML.
  4. 4Keep a static fallback image if the animation is decorative.

Source Code
Copied to clipboard