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
// Exports events.json (sound events), timeline.json (score grid), out/srt.json (subtitles)
// Usage (repo root): node styles/hologram-hud/demo/tools/export.mjs [content.json] [work dir, default demo/]
import fs from 'fs'; import path from 'path'; import { fileURLToPath } from 'url';
const D = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
const ROOT = path.resolve(D, '../../..');
process.chdir(ROOT);
const { openDemo, closeServer } = await import(path.join(ROOT, 'core/render/page.mjs'));
const rel = path.relative(ROOT, D);
const content = process.argv[2] || 'content.json', W = path.resolve(process.argv[3] || D);
const q = `content=${content}&voices=${path.relative(D, path.join(W, 'voices')) || 'voices'}`;
const { browser, page } = await openDemo(rel, { q });
const r = await page.evaluate(() => ({ dur: window.DUR, ev: window.EV, subs: window.SUBS, tl: window.TIMELINE }));
fs.mkdirSync(path.join(W, 'out'), { recursive: true });
fs.writeFileSync(path.join(W, 'events.json'), JSON.stringify({ dur: r.dur, ev: r.ev }));
fs.writeFileSync(path.join(W, 'timeline.json'), JSON.stringify(r.tl, null, 1));
fs.writeFileSync(path.join(W, 'out/srt.json'), JSON.stringify(r.subs, null, 1));
console.log('events', r.ev.length, 'dur', r.dur);
await browser.close(); closeServer();