jumpersun/framecraft-skills / skills/painted-animation
painted-animation
Flagged用代码制作或修改水彩墨线风格的角色动画、叙事短片与歌词 MV,包含分镜、角色表演、逐镜头渲染检查及 MP4 输出。适用于手绘二维动画,不用于动态文字主导的产品展示片。
template/gpu_probe.mjs
View on GitHub// Which GPU does headless Chrome's WebGL land on? Prints the unmasked renderer for each flag set.
// node gpu_probe.mjs <chrome path>
import puppeteer from 'puppeteer-core';
const chrome = process.argv[2];
const base = ['--no-sandbox', '--ignore-gpu-blocklist', '--enable-gpu-rasterization'];
const candidates = {
'angle-vulkan': ['--use-angle=vulkan', '--enable-features=Vulkan'],
'gl-egl': ['--use-gl=egl'],
'angle-gl-egl': ['--use-angle=gl-egl'],
'kit-default': ['--use-gl=angle'],
};
for (const [name, flags] of Object.entries(candidates)) {
let browser;
try {
browser = await puppeteer.launch({ executablePath: chrome, headless: true, args: [...base, ...flags] });
const page = await browser.newPage();
const info = await page.evaluate(() => {
const gl = document.createElement('canvas').getContext('webgl2') || document.createElement('canvas').getContext('webgl');
if (!gl) return 'no WebGL context';
const ext = gl.getExtension('WEBGL_debug_renderer_info');
return ext ? gl.getParameter(ext.UNMASKED_RENDERER_WEBGL) : gl.getParameter(gl.RENDERER);
});
console.log(`${name.padEnd(13)} ${info}`);
} catch (e) {
console.log(`${name.padEnd(13)} FAILED: ${e.message.split('\n')[0]}`);
} finally {
await browser?.close();
}
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |