kwakseongjae/oh-my-design / .claude/skills/omd-aphrodite
omd:aphrodite
VerifiedMaximum-craft one-page landing — the wow bar. omd:landing 의 구조 위에 마감(서체 조달·그레인·깊이·색보정·스크롤 타임라인)과 최고급 에셋을 얹고, 랜딩 검사 전 항목 통과를 합격선으로 삼는다. Trigger: '와우', '압도적인', '최고급', '쇼케이스용', 'aphrodite', '데모용 랜딩', '이거 자랑할 거야'.
docs/design-excellence/fx-library/text-scramble/snippet.js
View on GitHub// fx: text-scramble — 노이즈에서 글자가 해독되듯 정착한다. 구현: oh-my-design (MIT).
// 접근성: 최종 문자열을 aria-label 로 고정하고, 스크램블 중인 노드는 aria-hidden.
;(function (global) {
const GLYPHS = '!<>-_\\/[]{}—=+*^?#01';
function scramble(el, next = el.dataset.fxTo || el.textContent, opts = {}) {
const { speed = 1, glyphs = GLYPHS } = opts;
const prev = el.textContent || '';
const final = next;
el.setAttribute('aria-label', final);
const body = el.querySelector('.fx-scramble__body') || el;
body.setAttribute('aria-hidden', 'true');
if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) { body.textContent = final; return Promise.resolve(); }
const len = Math.max(prev.length, final.length);
const q = [];
for (let i = 0; i < len; i++) {
const start = Math.floor(Math.random() * 22 / speed);
q.push({ from: prev[i] || '', to: final[i] || '', start, end: start + Math.floor(Math.random() * 22 / speed) + 6 });
}
let frame = 0, raf = 0;
return new Promise(res => {
const tick = () => {
let out = '', done = 0;
for (const c of q) {
if (frame >= c.end) { done++; out += c.to; }
else if (frame >= c.start) {
if (!c.ch || Math.random() < 0.3) c.ch = glyphs[Math.floor(Math.random() * glyphs.length)];
out += c.ch;
} else out += c.from;
}
body.textContent = out;
if (done === q.length) { cancelAnimationFrame(raf); res(); return; }
frame++; raf = requestAnimationFrame(tick);
};
raf = requestAnimationFrame(tick);
});
}
// 화면에 들어올 때 한 번만 실행
function scrambleOnView(root = document) {
const els = [...root.querySelectorAll('[data-fx-scramble]')];
if (!els.length || !('IntersectionObserver' in window)) { els.forEach(e => scramble(e)); return; }
const io = new IntersectionObserver(es => es.forEach(e => {
if (e.isIntersecting) { io.unobserve(e.target); scramble(e.target); }
}), { threshold: .4 });
els.forEach(e => io.observe(e));
}
global.fxLib = Object.assign(global.fxLib || {}, { scramble, scrambleOnView });
})(window);
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 |