Skip to content

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 种现成风格,也能做出你自己的

557 B
Raw Blame
// Minimal example from DEMO.md (Engine reference): ?api=1
import { sketchShape, sparkle, penStroke, drawPen, hex } from './engine.js';
const ctx = document.getElementById('c').getContext('2d');
window.DUR = 1;
window.render = () => {
  ctx.fillStyle = '#f5eede'; ctx.fillRect(0, 0, 1920, 1080);
  const star = sparkle(960, 540, 120, .24);
  sketchShape(ctx, star, hex('#D97757'), { ink: 3, wash: .7, offset: 3, seed: 7 });
  drawPen(ctx, penStroke([[1040, 610], [1180, 640], [1300, 646]], { w: 3, wob: 1.2, over: 6, seed: 8 }), 1);
};
window.READY = true;