
ink-flood
Builds a seamless two-colour Canvas 2D loop in which a round pen writes a thick cursive scribble whose width breathes with the stroke, the scribble floods the frame by zooming and swelling at once, and its ink becomes the background the next mirrored scribble is drawn on, all driven by swappable scene data under a fixed halftone screen. Use when someone asks for a scribble or handwriting animation, an ink or paint flood transition, a colour-swap loop, a pen drawing effect, a halftone print texture, or a looping brush stroke.
- Installs
- 0
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/arla6ka/design.how --skill ink-flood- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads ink-flood automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Ink flood
A pen writes a fat scribble, the scribble floods the frame, and its ink becomes the ground the next one is written on. See it live at https://design.how/vault/ink-flood.
What to build
A pen dot writes a thick cursive scribble across a pale field. Two sparks pop out of it, the scribble swells until its ink covers the whole card, and the drawing starts again mirrored left to right, now light ink on the dark field the last one left behind. Each half is 72 frames at 25 fps, so the loop is 5.76 seconds, and it closes because each half's ink is the next half's ground.
The stroke is the pen's trail, not a path being revealed. The ink is every round dab the pen has laid so far, stamped along a centreline whose samples each carry a local half-width and the frame they were laid. Width breathes with the hand, fat in the valleys and thin over the crests. In the measured scene the centreline sits a few pixels below the visible pen and the resting stroke bulges fatter than the pen, so the spine is its own table and never derived from the pen track.
The flood is two curves at once. The scene zooms about its centre, to 3.94 times over 21 frames, while the stroke width multiplies on its own later curve. Zoom does the early work and the swell closes the notches between humps that no zoom can close. The sparks fly on a third, faster divergence and are drawn as capsules spanning their travel between frames, so they read as thrown off the wave. When the ink owns the frame it holds as a flat fill until the half ends.
The engine holds no numbers. Every look is one Scene object: a palette of two fields and a dot colour, the spine, the pen track, the flood tables and the sparks. The default plays the measured scribble in grey on white and near-black; the authored scenes build their scribble from a generator. A 45-degree dot screen at a 5 pixel pitch is baked once into a tile and laid over every frame in screen space, so it never zooms or mirrors with the ink and both flat holds match exactly.
Workflow
- Copy
assets/template/into the project, for example tocomponents/ink-flood/. It is React and TypeScript:scene.ts,ease.ts,generate.ts,halftone.ts,presets/measured.ts,presets/authored.ts,presets/index.ts,engine.ts,card.tsx, plusruntime/, the small helpers they import. - Read the FIXED steps below before touching the code. They are what makes the effect; keep them.
- Change only the VARIABLE values in the params file, or pass them as props where the card takes them.
- Mount the card in a box with a fixed aspect ratio of 1344 / 620, so the page never shifts when it paints.
- Read
references/perf.mdbefore changing the engine or mounting several visuals on one page. - Run
node scripts/check.mjs components/ink-floodon the copied folder, fix every line it prints, and rerun until it prints ok.
FIXED
- Map the scene's square onto the card's height, centred, and mirror it horizontally in the second half.
- Split time into two halves of scene.half frames; swap the two fields between halves, so ink becomes ground.
- Stamp round dabs along the spine up to the current frame, each segment interpolating position and half-width, spaced by a fraction of the radius.
- From flood.at, zoom the ink about the centre by the scale table and multiply every dab's radius by the swell table.
- Draw the pen and the sparks last, sparks as capsules from half a frame before to half a frame after.
- Lay the baked halftone tile over every frame in screen space, including the flat hold.
- Under reduced motion, draw scene.restAt once: the finished scribble before the flood.
VARIABLE
| Name | Default | What it changes |
|---|---|---|
scene | DEFAULT_SCENE | Which Scene the card plays. MEASURED, GRAPHITE, SULPHUR and TIDE ship; a new look is a new Scene, never an engine change. |
palette.fields, palette.dot | #fafafa, #111111, #8c8c8c | The two fields that trade places, and the pen. The dot must read on both fields. |
generateSpine options | humps 3, amplitude 0.2, crestR 22, valleyR 46 | The shape of an authored scribble: hump count, height and stroke radius at crests and valleys. |
HALFTONE_DEFAULTS | pitch 5, radius 1.6, alpha 0.12 | The print screen. Alpha 0 turns it off. |
FAQ
What does the ink-flood skill do?
Builds a seamless two-colour Canvas 2D loop in which a round pen writes a thick cursive scribble whose width breathes with the stroke, the scribble floods the frame by zooming and swelling at once, and its ink becomes the background the next mirrored scribble is drawn on, all driven by swappable scene data under a fixed halftone screen. Use when someone asks for a scribble or handwriting animation, an ink or paint flood transition, a colour-swap loop, a pen drawing effect, a halftone print texture, or a looping brush stroke.
How do I install ink-flood?
Run npx skills add https://github.com/arla6ka/design.how --skill ink-flood in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/ink-flood/ (personal) or .claude/skills/ink-flood/ (project).
Which AI agents can use ink-flood?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is ink-flood safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains ink-flood?
It is published by arla6ka in arla6ka/design.how. It has 0 recorded installs.
More from arla6ka/design.how
build-design-system
arla6ka/design.how
Use when someone wants a design system built from the UI an app already ships, or one phase of it, such as "extract tokens from the app", "add states to our Button", "replace the hardcoded colors with tokens" or "start a design system". Moving screens onto an existing system's components is migrate-design-system. A vague whole-app ask goes to design-system-boss.
ui-review
arla6ka/design.how
Use to critique a screen, flow, prototype or running build, accessibility included, and rank what is broken, such as "check this page before I ship", "is this flow ready", "is it accessible", keyboard or screen-reader checks, "it feels off on my phone" or "it feels janky". Not for token compliance, which is token-mapping.
token-mapping
arla6ka/design.how
Use to report how hardcoded style values on a page, file or diff map onto a project's existing design tokens, such as "are we using our tokens here", "which hardcoded colors map to which tokens", a token audit or planning a token migration. It never edits. Replacing the values is build-design-system.
component-docs
arla6ka/design.how
Use to write one component's documentation entry from its code, stories and real call sites, such as "document the button", "write docs for Select", "what states does Toast have", or usage rules for a new or changed component. Not for foundations or pages that span components, which no skill here writes, nor for changing the component, which is build-design-system.
design-system-boss
arla6ka/design.how
Use for vague whole-app design system asks on an app that already ships UI, such as "our UI is a mess, fix it", "we need a design system", "we hardcode colors everywhere", "make the buttons consistent" or "check the app before I ship". One named screen goes to ui-review, one component to component-docs, a token report to token-mapping. A repo with no UI yet is out of scope.
migrate-design-system
arla6ka/design.how
Use when an app has to move onto a design system that already exists, such as "migrate the app to our design system", "move every screen onto the new components", a rollout, or an adoption audit. Not for making the system or for swapping raw values for tokens, which are build-design-system.
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
ui-taste
uizze.sh
Give your coding agent better UI taste. Build and polish web and iOS interfaces with Uizze's anti-ui-slop playbooks and optional real-product references. Use for UI design, implementation, redesign, critique, or a final visual review in Claude Code, Codex, Cursor, or Copilot.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.