Individual skill
edu-physics-video
Use when asked to make an explainer / walkthrough video (讲解视频、解题视频、例题精讲、微课) for a physics problem (物理题: mechanics/力学 受力分析 牛顿定律 斜面 传送带 板块 平抛 圆周 能量 动量, optics/光学 折射, electromagnetism/电磁 带电粒子), from a problem screenshot or text, with Chinese voice-over (GLM-TTS / 智谱 TTS), bilingual zh+en subtitles and blueprint-style canvas animation where the motion follows the real solution — delivered as a browser preview (index.html) first, MP4 export only if the user wants it.
skills/edu-physics-video/SKILL.md
Source commit 805fdc5dd6bdf942290a7791924bf0ee08f26632
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,776
- Repository last updated
- Oct 23, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesSKILL.mdcore · 18,024 bytesexamples/laser-curvature/anim.jsruns · 18,394 bytesexamples/laser-curvature/episode.jsonasset · 145 bytesexamples/laser-curvature/problem.pngasset · 691,704 bytesexamples/laser-curvature/script.jsonasset · 5,913 bytesexamples/laser-curvature/storyboard.mddoc · 3,673 bytesreference/animation.mddoc · 18,234 bytesreference/glm-tts-setup.mddoc · 6,082 bytesreference/physics-solving.mddoc · 5,842 bytesreference/pronunciation.mddoc · 8,115 bytesreference/script-writing.mddoc · 6,247 bytesreference/troubleshooting.mddoc · 4,736 bytesreference/visual-design.mddoc · 7,225 bytesscripts/check_key.shruns · 1,745 bytesscripts/contact_sheet.pyruns · 1,399 bytesscripts/init_env.shruns · 1,287 bytesscripts/make_problem_png.pyruns · 5,271 bytesscripts/new_video.shruns · 2,929 bytesscripts/problem_boxes.pyruns · 3,081 bytesscripts/setup_check.shruns · 3,870 bytesshared/pron.jsonasset · 7,109 bytesshared/pron.pyruns · 8,455 bytestemplate/anim.jsruns · 16,679 bytestemplate/build_audio.pyruns · 30,911 bytestemplate/engine.jsruns · 38,772 bytestemplate/episode.jsonasset · 160 bytestemplate/fonts/PatrickHand-Regular.ttfasset · 214,772 bytestemplate/fonts/ZCOOLKuaiLe-Regular.ttfasset · 1,514,968 bytestemplate/index.htmlasset · 1,349 bytestemplate/make.shruns · 711 bytestemplate/phys.jsruns · 21,520 bytestemplate/problem.pngasset · 159,897 bytestemplate/render.mjsruns · 8,954 bytestemplate/script.jsonasset · 4,777 bytestemplate/storyboard.mddoc · 4,489 bytes
Read excerpt
# 物理题讲解视频 (edu-physics-video)
把一道物理题做成 16:9、1920×1080、带中文配音 + 中英双语字幕 + 蓝图风格动画的讲解视频(先给浏览器预览,用户要时再导出 MP4)。流水线与 edu-math-video 相同,区别在**解题方法**和**画面**:先按物理解题流程(建模 → 分段 → 受力 → 选规律 → 求解 → 验算)解对,再让画面把物理过程真实地演出来——力箭头按比例从作用点长出、物体按解析解运动、v-t 图同步生长、摩擦力随运动反向而转向。
```
script.json ──build_audio.py──► build/timeline.json + build/mix.wav + ../<name>.srt
(旁白) (GLM-TTS + 合成音乐) │
anim.js + phys.js + engine.js ◄───────────────┘ (按旁白时间点驱动动画)
├──open index.html ──► 浏览器直接播放(预览)
└──node render.mjs video──► ../<name>.mp4(用户要时才导出)
```
**核心原则:画面跟着旁白走,物理过程在图上真的发生。** 每句旁白都有一个动作把这句物理演出来;每个动画用"第 k 句旁白开始的时刻"`S.at(k, f)` 定时,绝不写死秒数;物体的位置只来自解析解 `x(t)`,用 `simT()` 线性映射时间(可以慢放,不能缓动)。