amvcp-anim-perf
CommunitySave CPU with advanced animation primitives.
Software Engineering#performance#animation#requestAnimationFrame#canvas loop#idle deferred initialization#off-screen pause#dynamic content refresh
AuthorEmasoft
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents expensive animation work from wasting CPU by pausing infinite loops off-screen and deferring non-critical initialization until the browser is idle.
Core Features & Use Cases
- Off-screen loop pause (AN-11): Automatically pauses infinite ambient loop elements when they leave the viewport.
- Idle-deferred initialization (AN-11): Splits init into an immediate Tier 1 that gates visible content and a deferred Tier 2 that wires polish/perf logic using requestIdleCallback (with fallback).
- Delta-time rAF loop primitive (AN-12): Provides a reusable createLoop(update, render) pattern with capped dt and safe start/stop semantics for canvas/game-loop consumers.
- Dynamic content re-scanning: Refreshes loop and runtime wiring after subtree insertions so new elements participate correctly.
Quick Start
Use the amvcp-anim-perf primitives to budget animation CPU by enabling off-screen loop pausing and wiring any custom rAF/canvas loop via the delta-time createLoop(update, render) pattern.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: amvcp-anim-perf Download link: https://github.com/Emasoft/ai-maestro-visual-communicator-plugin/archive/main.zip#amvcp-anim-perf Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.