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
#!/usr/bin/env python3
"""Waveform peaks of the source-audio clips (one per 1/60 s), written as JSON for the page to draw waveform bars."""
import json, sys, os
import numpy as np, soundfile as sf
D = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
for c in ['c1', 'c2']:
x, sr = sf.read(os.path.join(D, f'assets/snd/{c}.wav')); x = x if x.ndim == 1 else x.mean(1)
n = sr // 60; pk = [float(np.abs(x[i:i + n]).max()) for i in range(0, len(x), n)]
m = max(pk) or 1; json.dump({'dur': len(x) / sr, 'pk': [round(v / m, 3) for v in pk]}, open(os.path.join(D, f'assets/snd/{c}.json'), 'w'))
print(c, len(pk))