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
// Generates aus.js (two coastline rings: mainland Australia + Tasmania): node extract_aus.mjs (needs network)
// Reads world-atlas 2.0.2 (Natural Earth 1:50m countries, ISC/public domain) from the npm CDN in memory,
// keeps Australia only and writes nothing else; decoded with vendor/topojson-client 3.1.0 (ISC).
import fs from 'fs';
import path from 'path';
import { createRequire } from 'module';
import { fileURLToPath } from 'url';
const SRC = 'https://cdn.jsdelivr.net/npm/[email protected]/countries-50m.json';
const OUTF = path.resolve(process.env.OUT || path.join(path.dirname(fileURLToPath(import.meta.url)), 'aus.js'));
process.chdir(path.dirname(fileURLToPath(import.meta.url)));
const { feature } = createRequire(import.meta.url)('./vendor/topojson-client.min.cjs');
const res = await fetch(SRC);
if (!res.ok) throw new Error(`${SRC}: HTTP ${res.status}`);
const topo = await res.json();
const f = feature(topo, topo.objects.countries).features.find(f => f.properties.name === 'Australia');
const polys = f.geometry.type === 'MultiPolygon' ? f.geometry.coordinates : [f.geometry.coordinates];
const rings = polys.map(p => p[0]).map(r => ({ n: r.length, area: Math.abs(r.reduce((s, [x, y], i) => { const [x2, y2] = r[(i + 1) % r.length]; return s + x * y2 - x2 * y; }, 0) / 2), r }));
rings.sort((a, b) => b.area - a.area);
console.log(rings.slice(0, 5).map(r => [r.n, r.area.toFixed(1)]));
const keep = rings.slice(0, 2).map(r => r.r.map(([x, y]) => [+x.toFixed(3), +y.toFixed(3)]));
fs.writeFileSync(OUTF, 'window.AUS=' + JSON.stringify(keep) + ';\n');