Add animations to hero SVGs for dynamic flow visualization#180
Merged
Add animations to hero SVGs for dynamic flow visualization#180
Conversation
Add SMIL animations to both light and dark hero SVGs with an 8-second looping cycle: flowing dots along agent-to-gate paths (staggered), pulsing glow rings during gate processing, shield stroke pulse, outcome dots flowing to allowed/blocked cards, and budget meter shimmer. Respects prefers-reduced-motion via inline SVG style block. https://claude.ai/code/session_01EGvZV9ckmJBJWRwZAMPhYp
Bar animates from 30% to 90% over the 8s cycle, turning orange after 80% to signal budget exhaustion. Percentage labels swap via overlaid text elements with staggered opacity animations. https://claude.ai/code/session_01EGvZV9ckmJBJWRwZAMPhYp
- Agent A: chat bubble icon with blue-tinted card (LLM inference) - Agent B: magnifying glass icon, neutral card (web search) - Agent C: envelope icon with warm-tinted card, orange flow path (tool.send_email replaces tool.db_delete for relatability) - Agent cards flash white when their request dot departs - ALLOWED/BLOCKED cards flash on dot arrival - Shield inner arc triple-pulses during evaluation (scanning effect) - Agent C flow line and dot colored orange to signal risk https://claude.ai/code/session_01EGvZV9ckmJBJWRwZAMPhYp
- Flow paths now have animated dashed strokes (marching ants) showing continuous data flow direction toward the gate - Lock shackle lifts briefly when ALLOWED decision fires (gate opens) - BLOCKED card shakes left-right on red dot arrival (rejection jolt) - Agent C 'tool.send_email' label flashes orange when its dot departs https://claude.ai/code/session_01EGvZV9ckmJBJWRwZAMPhYp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enhanced both hero SVG files (light and dark themes) with comprehensive animations to create a dynamic, interactive visualization of the enforcement gate workflow. The changes include animated flow dots, pulsing glow effects, budget consumption visualization, and accessibility support for reduced motion preferences.
Key Changes
@media (prefers-reduced-motion: reduce)styles to hide all animations for users who prefer reduced motiontool.db_deleteImplementation Details
repeatCount="indefinite"animateMotionwithmpathreferences for smooth path followinghttps://claude.ai/code/session_01EGvZV9ckmJBJWRwZAMPhYp