A toolbox of film styles made in code for Claude Code: 66 ready to use, and your own. Each style is a style prompt plus a demo film made entirely in code by Claude Opus 5.5, with no video model. By Lemomo. · 一套用代码做片的风格工具箱:66 种现成风格,也能做出你自己的
JavaScript agent-skillsai-agentsai-short-filmai-videoanimationcanvasclaudeclaude-codeclaude-code-pluginclaude-code-skillcreative-codingffmpegfilmmakingmotion-graphicsopus-5-5prompt-librarytext-to-speechthreejsvideo-productionwebgl
"""Subtitle export: same rule as the subtitles burned in on the page (shown = max(1.9 s, speech + 0.7 s)); narration times taken from story.js
python styles/glass-product/demo/subs.py → demo/cues.json(then core/render/srt.py converts it to .srt)"""
import json, os, re
HERE = os.path.dirname(os.path.abspath(__file__))
src = open(os.path.join(HERE, 'story.js')).read()
vo = re.findall(r"\{ id: '(v\d)', t: ([\d.]+), text: '([^']+)' \}", src)
dur = json.load(open(os.path.join(HERE, 'voices', 'dur.json')))
cues = [{'t0': float(t), 't1': round(float(t) + max(1.9, dur[i] + .7), 3), 'text': txt} for i, t, txt in vo]
json.dump(cues, open(os.path.join(HERE, 'cues.json'), 'w'), indent=1); print(cues)