Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

motion-background

Skill by iart-ai

Adds animated ambient backgrounds behind content using CSS mesh gradients, GLSL shaders with Three.js, and canvas particle constellations. Aimed at developers building hero sections, login screens and empty states.

  • Score 79
  • 303 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install motion-background

Built from the published package, never by AI.

git clone --depth 1 https://github.com/iart-ai/motion-design-skills /tmp/motion-design-skills && mkdir -p ~/.claude/skills && cp -r /tmp/motion-design-skills/skills/motion-background ~/.claude/skills/motion-background

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install motion-background in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Motion Background is an agent skill for building subtle, looping animated backgrounds for web pages. It covers three techniques: an animated CSS mesh gradient with no JavaScript, a full-screen GLSL noise shader rendered with Three.js for an aurora-style look, and a canvas 2D constellation of drifting particles linked by lines. The skill also explains how to make motion repeat without a visible seam, and how to honor reduced-motion settings and pause when the tab is hidden or the canvas is offscreen.

The skill's guidance is to keep motion slow, around 8 to 30 second loops, and low in contrast so text stays readable. Each technique ships as runnable code. The skill delivers a single standalone HTML file with a freeze harness, so any moment of the animation can be captured as a screenshot for review. It is written for developers who want an ambient background without adding heavy dependencies.

Written from the project's SKILL.md and checked against it.

What it can do

  • CSS mesh gradientLayered radial gradients with keyframe-driven position drift and no JavaScript.
  • GLSL aurora shaderA full-screen fragment shader using fBm value noise, rendered with Three.js.
  • Canvas constellationDrifting particles connected by lines when they are close, drawn with canvas 2D.
  • Seamless loop techniqueDrives motion with sin and cos of a loop phase so the animation wraps without a jump.
  • Reduced motion and pauseRenders one static frame when reduced motion is set and pauses when hidden or offscreen.
  • Freeze harnessPins the animation to a given time via a t query parameter for deterministic screenshots.

What you need

  • A web browser with WebGL support for the shader variant
  • Three.js loaded from a CDN for the shader variant

Try asking

  • Add an animated aurora shader background to my hero section
  • Build a constellation particle background behind my login page
  • Make a subtle CSS mesh gradient background that respects reduced motion

Good to know

  • The shader and canvas examples depend on Three.js, which is loaded from a CDN.
  • The canvas link loop is O(n²) and is described as fine up to about 120 points.
  • Noise-scrolled shaders only loop seamlessly if the scroll is an integer number of noise cells per period.
  • The skill states that devicePixelRatio should be capped at 2.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/motion-background/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to motion-background

All alternatives →
paperbananadwzhu-pku
94

PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.

AAA Skill 50k
code-slice-heroheygen-com
94

Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.

AAA Skill 92k
patentfigdavila7
94

Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

motion-background: common questions

Does the motion background skill need any external libraries?

The CSS and canvas techniques need no dependencies. The GLSL shader technique uses Three.js, which the skill loads from a CDN.

How does the skill avoid a visible jump when the animation loops?

It drives motion with periodic sin and cos functions of a loop phase, and it makes the first and last CSS keyframes identical.

Does the background respect accessibility and battery settings?

Yes. It honors prefers-reduced-motion by rendering one static frame, and it pauses when the tab is hidden or the canvas is offscreen.

How do I install motion-background?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is motion-background free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is motion-background safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to motion-background?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

motion-background Install

Add to stack

Loading.