Light Spotlight Render

vibe-motion/skills/light-spotlight-render

by vibe-motion4c86c0d016a3ba22ee673428a494f3c44f84111fNo licenseListed Oct 9, 2026Updated Oct 9, 2026

Generate a swinging spotlight text-reveal HTML animation with configurable text, swing angle, lamp scale, glow, and colors. Use when users ask for 聚光灯扫字动画, spotlight text reveal, light logo reveal, 发光文字揭示动画, or want a reusable HTML animation instead of a static image.

Includes scriptsDesign & Creative
AI-generated overview

Generates a standalone HTML animation of a swinging spotlight revealing text, with configurable text, swing, lamp scale, glow and colors.

What it does
Takes animation parameters such as label text, swing angle and cycle, lamp scale, glow opacity, mask and text colors, background color and video dimensions, then fills a bundled HTML template with sanitized values. It runs a Python script that writes a self-contained HTML file containing an SVG spotlight animation and prints the final absolute path. The default output filename is derived from the label text, and a transparent background can be requested.
When to use it
Use it when someone asks for a spotlight text-reveal animation, a light logo reveal, or a reusable HTML animation rather than a static image. It suits requests for glowing text reveal effects that should be previewed in a browser.
Requirements
Python 3 to run the bundled script scripts/render_light_spotlight.py, plus the bundled template asset assets/light_spotlight_template.html. The skill ships executable scripts and writes an HTML file to a chosen output path; no credentials or network access are described.

Light Spotlight Render

Workflow

  1. Collect the animation parameters:
    • label_text
    • swing_angle_degrees
    • swing_cycle_seconds
    • lamp_scale
    • glow_opacity
    • mask_color
    • text_color
    • background_color
    • video_width
    • video_height
    • optional output
  2. Resolve the installed skill directory and run scripts/render_light_spotlight.py.
  3. Return the final absolute HTML path printed by the script.

Command

bash
python3 scripts/render_light_spotlight.py \  --label-text "vibe-motion" \  --output "out/light-spotlight-vibe-motion.html"

Installed Skill Resolution

Use the installed skill copy, not the source repo checkout:

bash
skill_dir=""for base in "${AGENTS_HOME:-$HOME/.agents}" "${CLAUDE_HOME:-$HOME/.claude}" "${CODEX_HOME:-$HOME/.codex}"; do  if [ -d "$base/skills/light-spotlight-render" ]; then    skill_dir="$base/skills/light-spotlight-render"    break  fidone[ -n "$skill_dir" ] || { echo "light-spotlight-render skill not found under ~/.agents, ~/.claude, or ~/.codex"; exit 1; }
python3 "$skill_dir/scripts/render_light_spotlight.py" \  --label-text "vibe-motion" \  --output "$(pwd)/out/light-spotlight-vibe-motion.html"

Behavior

  • Read assets/light_spotlight_template.html.
  • Replace template placeholders with sanitized parameter values.
  • Keep the SVG spotlight animation self-contained in one HTML file.
  • Default output name is derived from label_text.
  • Preserve the top-vertex lamp scale pivot so the spotlight grows from the lamp tip rather than the swing axis.
  • Allow background_color=transparent for transparent-background workflows.

Output

  • Primary output: a standalone .html animation file.
  • Tell the user to open the HTML file in a browser to preview the animation.
  • If the user wants video output after generating the HTML, suggest rendering it with another tool or browser capture flow rather than rewriting the skill.

Source and attribution

Source:vibe-motion/skillsinlight-spotlight-renderat commit4c86c0d

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal