Skip to content
Design
Skill

/omd-cjk-type-shader

One effect, done well: 먹 번짐 — a large Korean, Japanese or Chinese display headline that reads as sumi ink printed on hanji. The heading stays real, selectable DOM text in ink color from the first frame; a WebGL2 layer over it adds what real ink does: a wet, glossy stroke with a

From plugin
oh-my-design
59644 skills27 agents1 MCP

Claude Code

$ npx -y skills add kwakseongjae/oh-my-design --skill omd-cjk-type-shader --agent claude-code

SKILL.md

omd-cjk-type-shader.SKILL.md
name: omd-cjk-type-shader
description: "One effect, done well: 먹 번짐 — a large Korean, Japanese or Chinese display headline that reads as sumi ink printed on hanji. The heading stays real, selectable DOM text in ink color from the first frame; a WebGL2 layer over it adds what real ink does: a wet, glossy stroke with a soft bloom that shrinks as it dries, ink pooling darker at stroke rims, ends and corners, paper fibers showing through thick strokes, and capillary feathering along fibers at a few edges only. On a dark ground it switches by itself to 금니 on 감지 (gold pigment on indigo paper): no feathering, a dull wet state, settling grains, one slow sheen. Two parameters (bleed, duration), ~5 KiB gzip of library JS, procedural paper texture, static fallback, prefers-reduced-motion, real-GPU verification script. Use for a CJK hero/launch headline, brand title, campaign line or section opener that should feel like a printed calligraphy poster. Triggers: '먹 번짐', '잉크 번짐', '한지 느낌 제목', '한글 타이포 셰이더', '제목에 셰이더', '墨のにじみ', '和紙', '筆文字っぽく', '墨跡暈開', '宣紙', '금니', '어두운 배경 제목 셰이더', '金泥', 'CJK headline shader', 'sumi ink text effect', 'ink bleed text', 'Hangul shader'. Not for body text, buttons, or Latin-only headlines. Full-page shader backgrounds → omd-shader-hero. Korean typesetting rules → hangul. Brand tokens → omd-apply."
argument-hint: "<selector or file of the CJK headline> [bleed 0..1] [duration seconds]"
user-invocable: true

omd-cjk-type-shader — 먹 번짐: CJK display type as sumi ink on hanji

Ink soaking into paper is the one image Korean, Japanese and Chinese writing share. This skill makes a big CJK headline read like it was printed or brushed in sumi on hanji. On a fast skim it should look like a calligraphy poster, not a filter.

How it works. The heading is ordinary DOM text in the ink color, readable and selectable from the first frame. The skill traces every grapheme where the browser laid it out and builds three fields from that mask: distance outside the strokes, distance inside them, and local ink coverage. A WebGL2 layer drawn **over** the text then adds only what real ink does:

  • **wet → dry:** the stroke starts glossy-dark with a soft bloom around it, and the bloom shrinks back as the ink dries;
  • **pooling:** ink collects darker along the stroke rim and at stroke ends and convex corners (low local coverage);
  • **kasure:** paper fibers show through the middle of thick strokes once dry;
  • **nijimi:** capillary feathering runs along a few paper fibers at some edges, chosen by low-frequency noise, never as an even ring around every glyph;
  • **paper:** a procedural hanji texture (SVG turbulence, no image) on the page.

**On a dark ground the same signature switches to 금니(金泥) on 감지(紺紙).** Goryeo sutra scribes wrote in gold powder mixed with glue on indigo-dyed paper. Pigment doesn't soak in the way ink does, so this variant never feathers and has no bloom. Wet glue reads dull and a little darker; as it dries the grains settle and catch the light (a sparse glint), one slow sheen crosses the line, ends and corners where the brush paused read richer, and thin passes let the indigo show through. It turns on by itself when the heading's color is lighter than the nearest painted background (`data-ink-ground="dark"` or `"light"` forces it). Every color it draws is the heading's own color, darker or brighter, or the ground's.

It plays once when the heading enters the viewport, then the render loop stops. Line wrapping, `keep-all`, font swaps and resizes are re-traced.

Working example: [`examples/demo.html`](./examples/demo.html) (single file, Korean + Japanese + Traditional Chinese, on hanji and on a 감지 section). Proof: [`scripts/verify.mjs`](./scripts/verify.mjs).

1. When to use / when not

Use when:

  • a Korean, Japanese or Chinese **display** headline (≥ 40px; hero, launch title, campaign line, section opener) should feel inked, calligraphic, "printed on hanji / washi / 宣紙";
  • the brand's ink and paper colors are known (DESIGN.md foreground/canvas, or the heading's computed `color` and the nearest painted background). Dark grounds get the 금니 variant: use a warm light text color with room to darken (the demo's `#d4b062` on `#1a2440` is 7.4:1).

Don't use for:

  • body text, labels, buttons, nav, anything below ~32px (pooling and feathering need stroke width to read);
  • Latin-only headlines (it works, but the cultural point is gone);
  • more than one or two headings per page. Boldness in one place (tf-shaders rule).

2. The effect and its two parameters

| Param | Range | Default | What it does | |---|---|---|---| | `bleed` | 0–1 | 0.7 | How far the capillary feathering travels along fibers (up to `0.12em × bleed`, at the edges noise picks) and how big the wet bloom gets. 0.4 = barely there, 0.8 = a wet brush. | | `duration` | s | 2.6 | Time from wet to dry. The bloom peaks early and shrinks; pooling and fiber show-through come in as it dries. Under 1.5s it reads as a flash, over 4s as a loading state. |

Everything else is fixed on purpose. Ink = the heading's computed `color`, darkened to 25% for pools; paper = the page background color. Text ink should be a sumi grey-black, not pure black (the demo uses `#3a3530` on `#f3eee4`, about 10:1), so the darker pools have room to show. One signature, not a control panel.

3. The contract that keeps text text

  • The heading is a normal `<h1>`/`<h2>` with its real text. `inkBleed()` wraps the text in `.ink-text` and inserts an `aria-hidden="true"`, `pointer-events: none` layer over it (z-index 2). The layer only darkens, lightens or extends what is already there. It never replaces or re-draws the glyphs, and with the layer removed the heading is still complete.
  • **The headline paints on the first frame.** No `opacity: 0`, no clip, no wait for the shader. tf-shaders measured LCP going to 7.8s when hero copy waited for a shader.
  • Selection, copy, find-in-page, translation, screen readers and SEO see plain text. `verify.mjs` checks that s
Read more
@kwakseongjae
Ships withoh-my-design

Give your AI coding agent a design system. One command installs 500+ quality-graded company DESIGN.md references + skills into Claude Code, Codex, Cursor, and OpenCode. Free, MIT, zero AI calls.

59644 skills27 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
596
Star history of kwakseongjae/oh-my-design on GitHub, a chart by star-history.com

Other skills on oh-my-design.

claude-design

claude-design

현재 코드베이스(또는 폴더)를 분석해 "디자인 컨텍스트 브리프"(스택/디자인 토큰/컴포넌트/ 라우트/실제 UI 카피/큐레이션된 에셋/레포 링크)를 합성하고, 그걸 Claude Design (claude.ai/design)에 자동으로…

hangul

hangul

Fixes the Korean (Hangul) that coding agents get wrong, in web UI and in documents of any length. Typography for web UI: line…

omd-add-reference

omd-add-reference

Reference catalog authoring compatibility gate. Core v2 cutover가 끝나기 전에는 신규 legacy DESIGN.md 쓰기를 차단하고 안전한 재개 조건을 설명한다.

omd-aphrodite

omd-aphrodite

Maximum-craft one-page landing — the wow bar. omd:landing 의 구조 위에 마감(서체 조달·그레인·깊이·색보정·스크롤 타임라인)과 최고급 에셋을 얹고, 랜딩 검사 전 항목 통과를 합격선으로…

omd-apply

omd-apply

프로젝트 DESIGN.md를 UI/시각 작업의 brand context로 적용. 컴포넌트·색상·폰트·레이아웃 수정 같은 구체적 요청과 톤·분위기 표현 — KR '좀 더 따뜻하게', EN 'make it warmer/cooler',…

omd-asset-fetch

omd-asset-fetch

사용자 product UI 생성 시 placeholder 자리를 generic SVG가 아닌 **실제 free-license CDN 자산**으로 채운다. 로고·일러스트·아이콘·사진·폰트·패턴 카탈로그를 verified URL만으로…

More skills from other plugins.

impeccable

impeccable

Use to design, redesign, critique, audit, polish or animate a frontend: websites, landing pages, dashboards, app UI, components,…

impeccable12d107k
@pbakaus@pbakausInstall Skill

Questions about omd-cjk-type-shader.

Which coding agents can use omd-cjk-type-shader?
omd-cjk-type-shader installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.