artemnovitckii/claude-animation-skills / skills/dan-koe
dan-koe
VerifiedMakes Dan Koe style minimal black-and-white line art for a reel. One white dot on pure black grows into a hairline tree that splits in two at every step, the tips light up, a pulse ring and sparks go off, and one quiet lowercase line swaps to a second. Use when the user runs /dan-koe or asks for Dan Koe style visuals, calm black and white motion graphics about choices, habits or compounding, or line art with one moving dot.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.8 KB |
| build.py | script | 1.2 KB |
| template.html | other | 5.1 KB |
build.py
View on GitHub#!/usr/bin/env python3
"""/dan-koe: spec.json -> Dan Koe style black-and-white line art, one dot grows into a branching tree and the tips light up (1080x1920, about 4 s).
python3 build.py <spec.json> [--snap 2.6]
"""
import sys
from pathlib import Path
HERE = Path(__file__).resolve().parent
sys.path.insert(0, str(HERE.parents[1] / 'kit'))
import anim # noqa: E402
DEFAULTS = {'lines': ['one choice.', 'then the next.'], 'depth': 9, 'seed': 5, 'light': False}
def payoff(spec):
"""when the last tips land; the template uses the same numbers (T0 .3, STEP .25, GROW .27)"""
return .3 + (spec['depth'] - 1) * .25 + .27
def check(spec):
if not isinstance(spec['depth'], int) or not 6 <= spec['depth'] <= 10:
sys.exit('spec: "depth" must be a whole number from 6 to 10')
if not isinstance(spec['lines'], list) or not 1 <= len(spec['lines']) <= 2:
sys.exit('spec: "lines" takes 1 or 2 short lines of text')
for l in spec['lines']:
if len(l) > 34:
print(f'note: "{l}" is long; it may wrap. Keep each line under ~30 characters.')
if __name__ == '__main__':
anim.build(HERE / 'template.html', DEFAULTS, duration=lambda s: payoff(s) + 1.43, check=check)
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: 196k | 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: 196k | 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: 196k | Updated | Claude CodeCodex | Verified | Install |