المؤثرات · All You Need Is Taste · أول أمس
An Effect (mount → destroy): a short statement of a few big, tight lines, one span each, hidden with visibility (its space kept) until it scrolls into view — an IntersectionObserver on the block, rootMargin 0px 0px −8% 0px, threshold 0.05, once.
Then line i starts at t0 + i × 55 ms and runs 680 ms: with p its progress and n its non-space characters, entered = ceil(n × min(1, p / 0.34)) letters appear left to right as random capitals (all of them by 231 ms), settled = floor(n × max(0, (p − 0.2) / 0.8)) resolve left to right into the true text from 136 ms, the last at 680 ms; the random letters change only on tick = floor(18 × p), about every 38 ms, chosen by a hash of line, position and tick. Spaces never scramble. Four lines are done 845 ms after the start. No fade, no movement: the text is the only motion, wider while it scrambles (capitals) and narrowing as it settles. Three presets, one per landing: Ottermere Baths in pale pink stencil on wine, Rifugio Coltre in pencil on paper, Prima Corsa in letter-white on tram blue.
هل يناسبك؟
مناسب لـ
- قواعد المكان أو نشرة أو بيان في بضعة أسطر كبيرة
- علامة نادٍ أو بار أو مجلة مستقلة بخط استنسل أو خط عرض
- بيان يجب أن يبدو كأنه يُكتب وهو يصل
غير مناسب لـ
- الفقرات الطويلة، إذ يُكتب كل سطر بالسكربت
- علامة هادئة تبدو فيها الحروف المرتعشة مقلقة













