Loading...
Loading...
Clone or update https://github.com/vibe-motion/threejs-earth and render the Three.js Earth route animation with Puppeteer frame capture. Use when users ask for 三维地球航线动画, Three.js Earth, 地球飞线, globe route animation, or exporting an Earth GIF/MP4/PNG sequence.
npx skill4agent add vibe-motion/skills threejs-earth-renderscripts/render_threejs_earth.py--workspace--outputout/threejs-earth.gifthreejs-earth/src/routeConfig.js--skip-update/usr/local/bin/python3 scripts/render_threejs_earth.py \
--workspace "$(pwd)" \
--output "$(pwd)/out/threejs-earth.gif"skill_dir=""
for base in "${AGENTS_HOME:-$HOME/.agents}" "${CLAUDE_HOME:-$HOME/.claude}" "${CODEX_HOME:-$HOME/.codex}"; do
if [ -d "$base/skills/threejs-earth-render" ]; then
skill_dir="$base/skills/threejs-earth-render"
break
fi
done
[ -n "$skill_dir" ] || { echo "threejs-earth-render skill not found under ~/.agents, ~/.claude, or ~/.codex"; exit 1; }
/usr/local/bin/python3 "$skill_dir/scripts/render_threejs_earth.py" \
--workspace "$(pwd)" \
--output "$(pwd)/out/threejs-earth.gif"https://github.com/vibe-motion/threejs-earth.gitworkspace/threejs-earth--skip-updatefile://window.__SCENE_3D_EXPORT__.setFrame(frame).gif.mp4ffmpeg--output-width 0src/routeConfig.js--render-scale 1--render-scale 2gitnodenpmffmpeg