phation 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +15 -0
- package/README.md +142 -2
- package/animate/core/feels.js +11 -0
- package/animate/core/recipes/index.js +84 -0
- package/animate/core/recipes/resolve.js +96 -0
- package/animate/detect.mjs +201 -0
- package/animate/index.mjs +266 -0
- package/animate/testset/eval.mjs +24 -0
- package/animate/testset/expected.json +23 -0
- package/animate/testset/holdout/commerce-delete-item-button.tsx +38 -0
- package/animate/testset/holdout/commerce-gallery.tsx +96 -0
- package/animate/testset/holdout/commerce-tile.tsx +50 -0
- package/animate/testset/holdout/shadcn-button-group-demo.tsx +114 -0
- package/animate/testset/holdout/shadcn-card-demo.tsx +63 -0
- package/animate/testset/holdout/shadcn-command-dialog.tsx +87 -0
- package/animate/testset/holdout/shadcn-drawer-dialog.tsx +90 -0
- package/animate/testset/holdout/shadcn-field-switch.tsx +24 -0
- package/animate/testset/holdout/shadcn-hover-card-demo.tsx +40 -0
- package/animate/testset/holdout/shadcn-mode-toggle.tsx +40 -0
- package/animate/testset/holdout/shadcn-toggle-group-demo.tsx +22 -0
- package/animate/testset/holdout.json +14 -0
- package/animate/testset/holdout2/chatbot-artifact-close-button.tsx +30 -0
- package/animate/testset/holdout2/chatbot-message-actions.tsx +211 -0
- package/animate/testset/holdout2/chatbot-sidebar-history-item.tsx +132 -0
- package/animate/testset/holdout2/chatbot-sidebar-toggle.tsx +35 -0
- package/animate/testset/holdout2/chatbot-suggested-actions.tsx +82 -0
- package/animate/testset/holdout2/chatbot-weather.tsx +434 -0
- package/animate/testset/holdout2/site-code-tabs.tsx +26 -0
- package/animate/testset/holdout2/site-copy-button.tsx +121 -0
- package/animate/testset/holdout2/site-github-link.tsx +38 -0
- package/animate/testset/holdout2/site-mobile-nav.tsx +220 -0
- package/animate/testset/holdout2/site-mode-switcher.tsx +97 -0
- package/animate/testset/holdout2/site-page-nav.tsx +15 -0
- package/animate/testset/holdout2.json +15 -0
- package/animate/testset/screens/commerce-cart-add-to-cart.tsx +94 -0
- package/animate/testset/screens/commerce-cart-modal.tsx +256 -0
- package/animate/testset/screens/commerce-navbar-mobile-menu.tsx +104 -0
- package/animate/testset/screens/commerce-product-variant-selector.tsx +106 -0
- package/animate/testset/screens/shadcn-accordion-demo.tsx +61 -0
- package/animate/testset/screens/shadcn-alert-dialog-demo.tsx +35 -0
- package/animate/testset/screens/shadcn-card-with-form.tsx +59 -0
- package/animate/testset/screens/shadcn-collapsible-demo.tsx +46 -0
- package/animate/testset/screens/shadcn-dialog-demo.tsx +50 -0
- package/animate/testset/screens/shadcn-drawer-demo.tsx +136 -0
- package/animate/testset/screens/shadcn-login-form.tsx +71 -0
- package/animate/testset/screens/shadcn-nav-main.tsx +73 -0
- package/animate/testset/screens/shadcn-section-cards.tsx +102 -0
- package/animate/testset/screens/shadcn-sheet-demo.tsx +47 -0
- package/animate/testset/screens/shadcn-switch-demo.tsx +11 -0
- package/animate/testset/screens/shadcn-tabs-demo.tsx +80 -0
- package/animate/testset/screens/taxonomy-main-nav.tsx +61 -0
- package/animate/testset/screens/taxonomy-post-item.tsx +42 -0
- package/animate/testset/screens/taxonomy-pricing.tsx +69 -0
- package/animate/testset/screens/taxonomy-user-account-nav.tsx +65 -0
- package/audit.mjs +456 -0
- package/bin/cli.mjs +113 -0
- package/bin/server.mjs +147 -0
- package/data/entries.json +864 -0
- package/data/standard/CORE.md +21 -0
- package/data/standard/STANDARD.md +185 -0
- package/data/standard/claude/CLAUDE.block.md +5 -0
- package/data/standard/claude/SKILL.md +26 -0
- package/data/standard/codex/AGENTS.block.md +25 -0
- package/data/standard/cursor/phation.mdc +27 -0
- package/data/standard/meta.json +4 -0
- package/data/standard/vscode/phation.instructions.md +25 -0
- package/data/standard/windsurf/phation.md +26 -0
- package/lib.mjs +214 -0
- package/package.json +41 -4
- package/share.mjs +72 -0
|
@@ -0,0 +1,864 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 2,
|
|
3
|
+
"categories": [
|
|
4
|
+
"Controls",
|
|
5
|
+
"Numbers & data",
|
|
6
|
+
"Text",
|
|
7
|
+
"Sheets & navigation",
|
|
8
|
+
"Media & scenes",
|
|
9
|
+
"Cursor & hover"
|
|
10
|
+
],
|
|
11
|
+
"entries": [
|
|
12
|
+
{
|
|
13
|
+
"slug": "voice-vortex",
|
|
14
|
+
"name": "Voice vortex",
|
|
15
|
+
"category": "Controls",
|
|
16
|
+
"tags": [
|
|
17
|
+
"feedback",
|
|
18
|
+
"loading"
|
|
19
|
+
],
|
|
20
|
+
"from": "Voice assistant",
|
|
21
|
+
"source": "Interactive studio",
|
|
22
|
+
"description": "A soft spectral ring breathes around the mic. Hold it: the ring swells to 118%, spins three times faster and pulses like a live voice. Let go and it springs back.",
|
|
23
|
+
"hint": "Press and hold",
|
|
24
|
+
"spec": {
|
|
25
|
+
"Swell": "spring k160 · c18 · 1 → 1.18",
|
|
26
|
+
"Spin": "60°/s · ×3 while listening",
|
|
27
|
+
"Voice pulse": "±4% · three summed sines",
|
|
28
|
+
"Blur": "18 px · ×0.7 while listening"
|
|
29
|
+
},
|
|
30
|
+
"file": "VoiceVortex.jsx",
|
|
31
|
+
"dependencies": [
|
|
32
|
+
"react",
|
|
33
|
+
"motion/react"
|
|
34
|
+
],
|
|
35
|
+
"assets": [],
|
|
36
|
+
"tunable": true,
|
|
37
|
+
"motion": "export const MOTION = {\n swell: { type: 'spring', stiffness: 160, damping: 18, mass: 1 }, // grow on hold, settle on release\n speed: 10, // tenths of the base spin (1.0×)\n boost: 3, // spin multiplier while listening\n size: 118, // % the ring grows to while held\n blur: 18, palette: 0,\n}"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"slug": "rotary-deck",
|
|
41
|
+
"name": "Rotary deck",
|
|
42
|
+
"category": "Media & scenes",
|
|
43
|
+
"tags": [
|
|
44
|
+
"media",
|
|
45
|
+
"storytelling"
|
|
46
|
+
],
|
|
47
|
+
"from": "Editorial hero",
|
|
48
|
+
"source": "Interactive studio",
|
|
49
|
+
"description": "Cards fan on a circle behind the headline and turn slowly. Drag to spin: the deck coasts on release, a fast drag fans it wider and it springs back. Cards turning away fade.",
|
|
50
|
+
"hint": "Drag sideways",
|
|
51
|
+
"spec": {
|
|
52
|
+
"Fan": "250° across 11 cards",
|
|
53
|
+
"Spin": "22°/s auto · momentum 900 ms",
|
|
54
|
+
"Fan return": "spring k120 · c16",
|
|
55
|
+
"Back cards": "opacity by cos(angle)"
|
|
56
|
+
},
|
|
57
|
+
"file": "RotaryDeck.jsx",
|
|
58
|
+
"dependencies": [
|
|
59
|
+
"react",
|
|
60
|
+
"motion/react"
|
|
61
|
+
],
|
|
62
|
+
"assets": [],
|
|
63
|
+
"tunable": true,
|
|
64
|
+
"motion": "export const MOTION = {\n fanBack: { type: 'spring', stiffness: 120, damping: 16, mass: 1 }, // the extra fan from a fast drag settling back\n coast: 900, // ms of spin momentum after release\n fan: 250, spacing: 36, persp: 1200, spin: 22, auto: 1,\n}"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"slug": "ai-aura-input",
|
|
68
|
+
"name": "AI aura input",
|
|
69
|
+
"category": "Controls",
|
|
70
|
+
"tags": [
|
|
71
|
+
"forms",
|
|
72
|
+
"loading"
|
|
73
|
+
],
|
|
74
|
+
"from": "AI assistant",
|
|
75
|
+
"source": "Interactive studio",
|
|
76
|
+
"description": "The prompt bar glows brightest on one side and that peak swings toward the pointer. Focus lifts it; Enter sends the aura round the pill while it thinks, then the answer card unfolds from under the bar on a spring.",
|
|
77
|
+
"hint": "Hover, type, Enter",
|
|
78
|
+
"spec": {
|
|
79
|
+
"Aura swing": "spring k40 · c11",
|
|
80
|
+
"Thinking": "1.4 turns/s · 1500 ms",
|
|
81
|
+
"Answer": "spring k170 · c24 · drop 14 px · scale .94 → 1 · blur 8 → 0",
|
|
82
|
+
"Text": "spring k120 · c20 · trails the card",
|
|
83
|
+
"Idle": "glow breathes 0.78–1"
|
|
84
|
+
},
|
|
85
|
+
"file": "AuraInput.jsx",
|
|
86
|
+
"dependencies": [
|
|
87
|
+
"react",
|
|
88
|
+
"motion/react"
|
|
89
|
+
],
|
|
90
|
+
"assets": [],
|
|
91
|
+
"tunable": true,
|
|
92
|
+
"motion": "export const MOTION = {\n magnet: { type: 'spring', stiffness: 40, damping: 11, mass: 1 }, // how the bright side swings to the pointer\n think: 1500, // ms the aura orbits before the answer\n rise: { type: 'spring', stiffness: 170, damping: 24, mass: 1 }, // answer card in (ζ ≈ 0.92: settles, no visible bounce)\n decode: 14, // ms between letters as the reply decodes\n orbit: 14, // tenths of a turn per second while thinking (1.4 turns/s)\n theme: 0, bezel: 8, glow: 60, follow: 1,\n}"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"slug": "glass-grid",
|
|
96
|
+
"name": "Glass grid",
|
|
97
|
+
"category": "Cursor & hover",
|
|
98
|
+
"tags": [
|
|
99
|
+
"hover",
|
|
100
|
+
"feedback"
|
|
101
|
+
],
|
|
102
|
+
"from": "Ambient surface",
|
|
103
|
+
"source": "Interactive studio",
|
|
104
|
+
"description": "Three blurred lights sit under 72 frosted tiles and lean toward the pointer. Drag to paint them under your finger; tap a tile and a ripple runs out through the grid by distance.",
|
|
105
|
+
"hint": "Move, tap, drag",
|
|
106
|
+
"spec": {
|
|
107
|
+
"Light follow": "spring k60 · c14",
|
|
108
|
+
"Paint": "spring k170 · c22",
|
|
109
|
+
"Ripple": "560 ms ENT · 46 ms per tile",
|
|
110
|
+
"Press": "scale .91 at the source"
|
|
111
|
+
},
|
|
112
|
+
"file": "GlassGrid.jsx",
|
|
113
|
+
"dependencies": [
|
|
114
|
+
"react",
|
|
115
|
+
"motion/react"
|
|
116
|
+
],
|
|
117
|
+
"assets": [],
|
|
118
|
+
"tunable": true,
|
|
119
|
+
"motion": "export const MOTION = {\n follow: { type: 'spring', stiffness: 60, damping: 14, mass: 1 }, // lights drifting toward the pointer\n paint: { type: 'spring', stiffness: 170, damping: 22, mass: 1 }, // lights under a dragging finger\n ripple: 560, // ms one tile takes to dip and return\n wave: 46, // ms per tile of distance from the press\n depth: 9, // % the pressed tile sinks (scale 1 → .91)\n palette: 0, diffusion: 60, frost: 55, gap: 3, drift: 1,\n}"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"slug": "acrylic-arc",
|
|
123
|
+
"name": "Acrylic card arc",
|
|
124
|
+
"category": "Media & scenes",
|
|
125
|
+
"tags": [
|
|
126
|
+
"media",
|
|
127
|
+
"navigation"
|
|
128
|
+
],
|
|
129
|
+
"from": "Collectibles gallery",
|
|
130
|
+
"source": "Interactive studio",
|
|
131
|
+
"description": "Sixteen acrylic cards on a curve, out-of-focus by distance. Drag or scroll to turn the set, tap a side card to bring it to the centre, tap the centre card to lift it and tilt it with the pointer.",
|
|
132
|
+
"hint": "Drag, scroll, tap",
|
|
133
|
+
"spec": {
|
|
134
|
+
"Turn / settle": "spring k170 · c26",
|
|
135
|
+
"Lift": "spring k300 · c26 · +70 px Z",
|
|
136
|
+
"Momentum": "420 ms",
|
|
137
|
+
"Depth blur": "0 → 4 px over 5 cards"
|
|
138
|
+
},
|
|
139
|
+
"file": "AcrylicArc.jsx",
|
|
140
|
+
"dependencies": [
|
|
141
|
+
"react",
|
|
142
|
+
"motion/react"
|
|
143
|
+
],
|
|
144
|
+
"assets": [
|
|
145
|
+
"/img/gal/gal-01.webp",
|
|
146
|
+
"/img/gal/gal-02.webp",
|
|
147
|
+
"/img/gal/gal-03.webp",
|
|
148
|
+
"/img/gal/gal-04.webp",
|
|
149
|
+
"/img/gal/gal-05.webp",
|
|
150
|
+
"/img/gal/gal-06.webp",
|
|
151
|
+
"/img/gal/gal-07.webp",
|
|
152
|
+
"/img/gal/gal-08.webp",
|
|
153
|
+
"/img/gal/gal-09.webp",
|
|
154
|
+
"/img/gal/gal-10.webp",
|
|
155
|
+
"/img/gal/gal-11.webp",
|
|
156
|
+
"/img/gal/gal-12.webp",
|
|
157
|
+
"/img/gal/gal-13.webp"
|
|
158
|
+
],
|
|
159
|
+
"tunable": true,
|
|
160
|
+
"motion": "export const MOTION = {\n focus: { type: 'spring', stiffness: 170, damping: 26, mass: 1 }, // turning to a tapped card / settling\n lift: { type: 'spring', stiffness: 300, damping: 26, mass: 1 }, // centre card lifting out\n coast: 420, // ms of drag momentum before it settles\n mode: 0, curve: 42, spread: 104, pitch: 6, dof: 4, rim: 70, sweep: 0,\n}"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"slug": "glyph-matrix",
|
|
164
|
+
"name": "Glyph matrix",
|
|
165
|
+
"category": "Media & scenes",
|
|
166
|
+
"tags": [
|
|
167
|
+
"storytelling",
|
|
168
|
+
"hover",
|
|
169
|
+
"media"
|
|
170
|
+
],
|
|
171
|
+
"from": "Generative hero",
|
|
172
|
+
"source": "Interactive studio",
|
|
173
|
+
"description": "A subject is sampled for brightness and redrawn every frame out of glyphs. The butterfly breathes, characters shimmer, glyphs part around the pointer and a press sends a shockwave through the field. Swap the glyph set from the dock, or upload your own image.",
|
|
174
|
+
"hint": "Move, press, hold",
|
|
175
|
+
"spec": {
|
|
176
|
+
"Grid": "9 px cells · canvas 60 fps",
|
|
177
|
+
"Flutter": "wings fold up to 16% · 2.2 rad/s",
|
|
178
|
+
"Shockwave": "900 ms · 260 px/s front",
|
|
179
|
+
"Hold": "new wave every 380 ms",
|
|
180
|
+
"Glyph sets": "5"
|
|
181
|
+
},
|
|
182
|
+
"file": "GlyphMatrix.jsx",
|
|
183
|
+
"dependencies": [
|
|
184
|
+
"react",
|
|
185
|
+
"motion/react"
|
|
186
|
+
],
|
|
187
|
+
"assets": [],
|
|
188
|
+
"tunable": true,
|
|
189
|
+
"motion": "export const MOTION = {\n shock: 900, // ms one shockwave takes to cross the field\n density: 9, // px per cell\n wave: 50, force: 60, glow: 40, grain: 25,\n subject: 0, set: 0, palette: 0, split: 0, invert: 0, contrast: 60, dark: 0,\n}"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"slug": "globe-telemetry",
|
|
193
|
+
"name": "Dotted globe telemetry",
|
|
194
|
+
"category": "Numbers & data",
|
|
195
|
+
"tags": [
|
|
196
|
+
"data",
|
|
197
|
+
"storytelling"
|
|
198
|
+
],
|
|
199
|
+
"from": "Network dashboard",
|
|
200
|
+
"source": "Interactive studio",
|
|
201
|
+
"description": "A Fibonacci-lattice globe of 3,200 dots, land kept and the ocean thinned to a graticule, lit and sized by depth. Drag it on both axes and it coasts, then drifts. Six data overlays ride the rotation: node pills, great-circle arcs with packets, radar beacons on an obsidian sphere, edge-tower load cards, rim weather badges and a low-orbit mesh.",
|
|
202
|
+
"hint": "Drag to spin",
|
|
203
|
+
"spec": {
|
|
204
|
+
"Lattice": "Fibonacci · 3,200 points · ocean every 11th",
|
|
205
|
+
"Depth": "radius 1.05 + z × 1.15 · alpha 0.14 + z × 0.72",
|
|
206
|
+
"Momentum": "vel × 0.04^dt",
|
|
207
|
+
"Drift": "0.35× spin",
|
|
208
|
+
"Arcs": "altitude 1 + sin(fπ) × 0.22",
|
|
209
|
+
"Focus": "spring k60 · c14"
|
|
210
|
+
},
|
|
211
|
+
"file": "GlobeTelemetry.jsx",
|
|
212
|
+
"dependencies": [
|
|
213
|
+
"react",
|
|
214
|
+
"motion/react"
|
|
215
|
+
],
|
|
216
|
+
"assets": [],
|
|
217
|
+
"tunable": true,
|
|
218
|
+
"motion": "export const MOTION = {\n focus: { type: 'spring', stiffness: 60, damping: 14, mass: 1 }, // camera swing to a focus region\n coast: 420, // ms of drag momentum (vel × 0.04^dt, scaled)\n spin: 35, density: 3200, bloom: 60, drift: 1, mode: 0, region: 0, dark: 0,\n}"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"slug": "gooey-voice",
|
|
222
|
+
"name": "Liquid voice split button",
|
|
223
|
+
"category": "Controls",
|
|
224
|
+
"tags": [
|
|
225
|
+
"forms",
|
|
226
|
+
"feedback"
|
|
227
|
+
],
|
|
228
|
+
"from": "Voice input",
|
|
229
|
+
"source": "Interactive studio",
|
|
230
|
+
"description": "Tap the mic: the light capsule springs out into a live waveform pill while the cancel droplet is pushed out to the right and settles beside it, still joined by a thin liquid neck. Tap the pill to send, or tap × and the droplet is drawn back in and the two merge into one circle. An SVG metaball filter shapes the hulls; icons, bars and timer stay sharp on top.",
|
|
231
|
+
"hint": "Tap the mic",
|
|
232
|
+
"spec": {
|
|
233
|
+
"Capsule": "64 → 150 px · spring k260 · c22",
|
|
234
|
+
"Droplet": "52 px · +104 px · spring k170 · c15 · neck stays",
|
|
235
|
+
"Material": "gradient + sheen + traced rim + drop shadow",
|
|
236
|
+
"Goo": "blur 11 · alpha × 22 − 9",
|
|
237
|
+
"Bars": "5 · summed sines",
|
|
238
|
+
"Timer": "tabular 0:00"
|
|
239
|
+
},
|
|
240
|
+
"file": "GooeyVoice.jsx",
|
|
241
|
+
"dependencies": [
|
|
242
|
+
"react",
|
|
243
|
+
"motion/react"
|
|
244
|
+
],
|
|
245
|
+
"assets": [],
|
|
246
|
+
"tunable": true,
|
|
247
|
+
"motion": "export const MOTION = {\n capsule: { type: 'spring', stiffness: 260, damping: 22, mass: 1 }, // main pill 64 → 168 px\n droplet: { type: 'spring', stiffness: 170, damping: 15, mass: 1 }, // cancel droplet eject / retract (lags → bridge)\n eject: 104, // px the cancel droplet travels right — close enough that a liquid neck stays at rest\n goo: 11, // feGaussianBlur stdDeviation\n bars: 5, tone: 0, dark: 0, wave: 0,\n}"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"slug": "swiss-stack",
|
|
251
|
+
"name": "Swiss card stack",
|
|
252
|
+
"category": "Media & scenes",
|
|
253
|
+
"tags": [
|
|
254
|
+
"media",
|
|
255
|
+
"navigation"
|
|
256
|
+
],
|
|
257
|
+
"from": "Editorial collection",
|
|
258
|
+
"source": "Interactive studio",
|
|
259
|
+
"description": "Six editorial cards in one cascading stack. Drag it 1:1: the rear cards spread like an accordion and the front card tilts with the pull. Flick and the release is projected to the nearest card; the front card dips on an arc and tucks behind the deck.",
|
|
260
|
+
"hint": "Drag, scroll, flick",
|
|
261
|
+
"spec": {
|
|
262
|
+
"Snap": "spring k110 · c19.5 · ×tension, c×√tension",
|
|
263
|
+
"Drag": "175 px per card · follow 1 − e^(−38·dt)",
|
|
264
|
+
"Flick": "index + velocity × 0.14 → round",
|
|
265
|
+
"Cascade": "24 px · taper 0.085 · min scale 0.64",
|
|
266
|
+
"Wrap": "smoothstep + sin arc 98 px · z flips at 0.48",
|
|
267
|
+
"Depth blur": "(d − 0.35) × 0.55 px"
|
|
268
|
+
},
|
|
269
|
+
"file": "SwissStack.jsx",
|
|
270
|
+
"dependencies": [
|
|
271
|
+
"react",
|
|
272
|
+
"motion/react"
|
|
273
|
+
],
|
|
274
|
+
"assets": [],
|
|
275
|
+
"tunable": true,
|
|
276
|
+
"motion": "export const MOTION = {\n snap: { type: 'spring', stiffness: 110, damping: 19.5, mass: 1 }, // release snap (×tension, damping ×√tension)\n dwell: 2600, // ms the deck rests before Auto cycle deals the next card\n spread: 24, // px between stacked card tops\n taper: 0.085, // scale lost per card of depth\n tension: 1, // spring tension multiplier\n auto: 1,\n}"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"slug": "optical-agent",
|
|
280
|
+
"name": "Dual-lens agent",
|
|
281
|
+
"category": "Controls",
|
|
282
|
+
"tags": [
|
|
283
|
+
"forms",
|
|
284
|
+
"loading"
|
|
285
|
+
],
|
|
286
|
+
"from": "AI agent",
|
|
287
|
+
"source": "Interactive studio",
|
|
288
|
+
"description": "Two glass lenses orbit on a figure-eight above a frosted card while a pearl light leak on the left rim follows the pointer. Ask something: the lenses tighten, the status words light up letter by letter, then the lenses merge into one bright core.",
|
|
289
|
+
"hint": "Ask, or tap a chip",
|
|
290
|
+
"spec": {
|
|
291
|
+
"Orbit": "lemniscate · ×2.2 while thinking",
|
|
292
|
+
"Lens merge": "spring k140 · c14",
|
|
293
|
+
"Rim follow": "spring k90 · c16",
|
|
294
|
+
"Thinking": "2700 ms · 3 status words",
|
|
295
|
+
"Orb blur": "6.5 px"
|
|
296
|
+
},
|
|
297
|
+
"file": "OpticalAgent.jsx",
|
|
298
|
+
"dependencies": [
|
|
299
|
+
"react",
|
|
300
|
+
"motion/react"
|
|
301
|
+
],
|
|
302
|
+
"assets": [],
|
|
303
|
+
"tunable": true,
|
|
304
|
+
"motion": "export const MOTION = {\n rim: { type: 'spring', stiffness: 90, damping: 16, mass: 1 }, // left rim light following the pointer's height\n merge: { type: 'spring', stiffness: 140, damping: 14, mass: 1 }, // lens gap opening / closing between states\n think: 2700, // ms from send to Complete (three status words)\n orbit: 10, // tenths of the base orbit speed (1.0×)\n sweep: 10, // tenths of the letter sweep speed\n blur: 6.5, glow: 70, state: 0, dark: 0,\n}"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"slug": "holo-metrics",
|
|
308
|
+
"name": "Spatial metric cards",
|
|
309
|
+
"category": "Numbers & data",
|
|
310
|
+
"tags": [
|
|
311
|
+
"data",
|
|
312
|
+
"navigation"
|
|
313
|
+
],
|
|
314
|
+
"from": "Analytics dashboard",
|
|
315
|
+
"source": "Interactive studio",
|
|
316
|
+
"description": "Six gradient glass metric cards ride one continuous position: drag or scroll and it coasts with momentum, drifts on its own, and snaps to the nearest card when drift is off. Six 3D engines read the same position — cylindrical carousel with lens stretch, liquid refraction, orbital helix, prism accordion, zero-G grid and portal vortex. Three charts scrub under the pointer.",
|
|
317
|
+
"hint": "Drag, scroll, scrub",
|
|
318
|
+
"spec": {
|
|
319
|
+
"Drag": "320 px per card · release velocity ×18",
|
|
320
|
+
"Momentum": "vel × 0.04^dt",
|
|
321
|
+
"Drift": "0.24 cards/s · pauses on hover",
|
|
322
|
+
"Snap": "rate 7 when |vel| < 0.06",
|
|
323
|
+
"Depth blur": "(|Δ| − 0.35) × 5.5 × warp px",
|
|
324
|
+
"Perspective": "1150 px"
|
|
325
|
+
},
|
|
326
|
+
"file": "HoloMetrics.jsx",
|
|
327
|
+
"dependencies": [
|
|
328
|
+
"react",
|
|
329
|
+
"motion/react"
|
|
330
|
+
],
|
|
331
|
+
"assets": [],
|
|
332
|
+
"tunable": true,
|
|
333
|
+
"motion": "export const MOTION = {\n drift: 24, // hundredths of a card per second while auto-drifting (0.24 cards/s)\n damping: 4, // hundredths: velocity keeps this share per second (vel *= 0.04^dt)\n snap: 7, // magnetic snap rate once velocity settles (drift off)\n follow: 12, // how fast each card settles onto its target (mode switches, grid push)\n mode: 0, palette: 0, warp: 72, depth: 1150, auto: 1, dark: 0,\n}"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"slug": "thinking-suite",
|
|
337
|
+
"name": "Agent thinking loaders",
|
|
338
|
+
"category": "Numbers & data",
|
|
339
|
+
"tags": [
|
|
340
|
+
"loading",
|
|
341
|
+
"feedback"
|
|
342
|
+
],
|
|
343
|
+
"from": "AI agent",
|
|
344
|
+
"source": "Interactive studio",
|
|
345
|
+
"description": "Six circular telemetry loaders drawn on canvas: latitude scan, harmonic beads, telemetry pulses, equaliser, orbital aperture and quantum lattice. Tap one to lift it into the hero with a pulse ring; status changes the tempo of all six.",
|
|
346
|
+
"hint": "Tap a loader",
|
|
347
|
+
"spec": {
|
|
348
|
+
"Tempo": "Thinking 1× · Synthesizing 1.7× · Idle 0.3×",
|
|
349
|
+
"Pulse": "scale .6 → 1.6 · 700 ms ENT",
|
|
350
|
+
"Render": "2D canvas · 60 fps",
|
|
351
|
+
"Variants": "6"
|
|
352
|
+
},
|
|
353
|
+
"file": "ThinkingSuite.jsx",
|
|
354
|
+
"dependencies": [
|
|
355
|
+
"react",
|
|
356
|
+
"motion/react"
|
|
357
|
+
],
|
|
358
|
+
"assets": [],
|
|
359
|
+
"tunable": true,
|
|
360
|
+
"motion": "export const MOTION = {\n burst: 700, // ms the pulse ring takes to expand and fade\n speed: 10, // tenths of the base tempo\n status: 0, aperture: 100, contrast: 88, accent: 0, dark: 0,\n}"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"slug": "light-dimmer",
|
|
364
|
+
"name": "Room light dimmer",
|
|
365
|
+
"category": "Controls",
|
|
366
|
+
"tags": [
|
|
367
|
+
"forms"
|
|
368
|
+
],
|
|
369
|
+
"from": "Smart home app",
|
|
370
|
+
"source": "Concept",
|
|
371
|
+
"description": "A tall pill slider dims the room photo: fill follows the finger 1:1, the room darkens and warms, and overshoot springs back.",
|
|
372
|
+
"hint": "Drag the pill",
|
|
373
|
+
"spec": {
|
|
374
|
+
"Fill": "1:1 with pointer, elastic past ends",
|
|
375
|
+
"Room": "brightness .35 → 1.1 + warm glow",
|
|
376
|
+
"Release": "spring k500 · c30 back into range"
|
|
377
|
+
},
|
|
378
|
+
"file": "LightDimmer.jsx",
|
|
379
|
+
"dependencies": [
|
|
380
|
+
"react",
|
|
381
|
+
"motion/react"
|
|
382
|
+
],
|
|
383
|
+
"assets": [
|
|
384
|
+
"/img/gal/gal-13.webp"
|
|
385
|
+
],
|
|
386
|
+
"tunable": true,
|
|
387
|
+
"motion": "export const MOTION = {\n intro: [0.16, 1, 0.3, 1], // demo's opening move 35% → 80%\n introMs: 1100,\n back: { type: 'spring', stiffness: 500, damping: 30, mass: 1 }, // overdrag spring-back\n}"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"slug": "model-picker",
|
|
391
|
+
"name": "Model picker swipe",
|
|
392
|
+
"category": "Media & scenes",
|
|
393
|
+
"tags": [
|
|
394
|
+
"media",
|
|
395
|
+
"checkout"
|
|
396
|
+
],
|
|
397
|
+
"from": "Product configurator",
|
|
398
|
+
"source": "Concept",
|
|
399
|
+
"description": "Swipe between models: the outgoing photo leaves, the new one slides in behind it, the name and each spec roll on their own beat.",
|
|
400
|
+
"hint": "Drag the photo",
|
|
401
|
+
"spec": {
|
|
402
|
+
"Photo": "x ±260 px · 800 ms ENT",
|
|
403
|
+
"Name / specs": "roll · 550 ms ENT · 40–50 ms apart",
|
|
404
|
+
"Swipe": "> 40 px or > 300 px/s",
|
|
405
|
+
"Dots": "active pill 8 → 22 px"
|
|
406
|
+
},
|
|
407
|
+
"file": "ModelPicker.jsx",
|
|
408
|
+
"dependencies": [
|
|
409
|
+
"react",
|
|
410
|
+
"motion/react"
|
|
411
|
+
],
|
|
412
|
+
"assets": [
|
|
413
|
+
"/img/ex/car-a.webp",
|
|
414
|
+
"/img/ex/roadster.webp"
|
|
415
|
+
],
|
|
416
|
+
"tunable": true,
|
|
417
|
+
"motion": "export const MOTION = {\n ease: [0.16, 1, 0.3, 1],\n photoMs: 800, // photo slide (parallax: the new one travels less than the old one)\n fadeMs: 350, // photo cross-fade\n rollMs: 550, // name + spec rolls\n specStagger: 50, // ms between spec figures\n}"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"slug": "cafe-order",
|
|
421
|
+
"name": "Café order",
|
|
422
|
+
"category": "Controls",
|
|
423
|
+
"tags": [
|
|
424
|
+
"checkout",
|
|
425
|
+
"feedback",
|
|
426
|
+
"data"
|
|
427
|
+
],
|
|
428
|
+
"from": "Ordering app",
|
|
429
|
+
"source": "Concept",
|
|
430
|
+
"description": "One ordering card where every change moves on its own beat: the ring slides to the drink you pick, the quantity rolls and the total trails it digit by digit, and Add to cart sends the photo arcing into the cart before the badge pops.",
|
|
431
|
+
"hint": "Pick, +, add",
|
|
432
|
+
"spec": {
|
|
433
|
+
"Pick": "ring layoutId · spring k420 · c32",
|
|
434
|
+
"Digits": "spring k400 · c30 · 40 ms apart, R → L",
|
|
435
|
+
"Total vs qty": "+120 ms",
|
|
436
|
+
"Fly to cart": "650 ms · arc 28 px · scale 1 → .25",
|
|
437
|
+
"Badge": "pop 1.35 → 1 · k520 c18",
|
|
438
|
+
"Press": "scale .95 · k600 c30"
|
|
439
|
+
},
|
|
440
|
+
"file": "CafeOrder.jsx",
|
|
441
|
+
"dependencies": [
|
|
442
|
+
"react",
|
|
443
|
+
"motion/react"
|
|
444
|
+
],
|
|
445
|
+
"assets": [
|
|
446
|
+
"/img/ex/coffee-iced-latte.webp",
|
|
447
|
+
"/img/ex/coffee-matcha.webp"
|
|
448
|
+
],
|
|
449
|
+
"tunable": true,
|
|
450
|
+
"motion": "export const MOTION = {\n select: { type: 'spring', stiffness: 420, damping: 32, mass: 1 }, // ring slides to the picked drink\n digit: { type: 'spring', stiffness: 400, damping: 30, mass: 1 }, // quantity + total roll\n press: { type: 'spring', stiffness: 600, damping: 30, mass: 1 }, // keys and button\n stagger: 40, // ms between digits, right → left\n lead: 120, // ms the total waits after the quantity\n fly: 650, // ms the photo takes to arc into the cart\n arc: 28, // px the flight rises above the straight line\n}"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"slug": "swipe-cards",
|
|
454
|
+
"name": "Swipe to add",
|
|
455
|
+
"category": "Media & scenes",
|
|
456
|
+
"tags": [
|
|
457
|
+
"feedback",
|
|
458
|
+
"media"
|
|
459
|
+
],
|
|
460
|
+
"from": "Social app",
|
|
461
|
+
"source": "Concept",
|
|
462
|
+
"description": "A deck of profile cards: the front one follows the finger and tilts from a pivot below it, “add” or “nah” blooms in with the drag, and past the threshold it is thrown off along its own arc while the next card rises on a soft spring. The buttons read the same drag.",
|
|
463
|
+
"hint": "Drag a card",
|
|
464
|
+
"spec": {
|
|
465
|
+
"Tilt": "1° per 11 px · pivot 160% down",
|
|
466
|
+
"Throw": "> 90 px or > 600 px/s · 700 ms arc",
|
|
467
|
+
"Snap back": "spring k500 · c30 · keeps release velocity",
|
|
468
|
+
"Next card": "spring k260 · c22",
|
|
469
|
+
"Stamp": "opacity · scale .7 → 1 · blur 6 → 0 px"
|
|
470
|
+
},
|
|
471
|
+
"file": "SwipeCards.jsx",
|
|
472
|
+
"dependencies": [
|
|
473
|
+
"react",
|
|
474
|
+
"motion/react"
|
|
475
|
+
],
|
|
476
|
+
"assets": [
|
|
477
|
+
"/img/gal/gal-01.webp",
|
|
478
|
+
"/img/gal/gal-03.webp",
|
|
479
|
+
"/img/gal/gal-05.webp",
|
|
480
|
+
"/img/gal/gal-07.webp"
|
|
481
|
+
],
|
|
482
|
+
"tunable": true,
|
|
483
|
+
"motion": "export const MOTION = {\n rise: { type: 'spring', stiffness: 260, damping: 22, mass: 1 }, // next card steps forward\n release: { type: 'spring', stiffness: 500, damping: 30, mass: 1 }, // let go short of the threshold\n tilt: 11, // px of drag per degree of tilt\n threshold: 90, // px past which a release throws the card\n flick: 600, // px/s that throws it regardless of distance\n throw: 700, // ms the thrown card takes to leave\n}"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"slug": "circle-cursor",
|
|
487
|
+
"name": "Circle cursor",
|
|
488
|
+
"category": "Cursor & hover",
|
|
489
|
+
"tags": [
|
|
490
|
+
"hover"
|
|
491
|
+
],
|
|
492
|
+
"from": "Site-wide cursor · marketing site",
|
|
493
|
+
"source": "Marketing site",
|
|
494
|
+
"description": "One white shape, three states: a 16 px dot, a 96 px lens over links (difference blend), and a labelled pill over work cards. It morphs while it trails the pointer.",
|
|
495
|
+
"hint": "Move here",
|
|
496
|
+
"spec": {
|
|
497
|
+
"Dot": "16 px",
|
|
498
|
+
"Link": "96 px circle · difference",
|
|
499
|
+
"Card": "pill · 12 / 18 px padding · label",
|
|
500
|
+
"Follow": "spring k500 · c40 · m0.6",
|
|
501
|
+
"Morph": "spring k400 · c32"
|
|
502
|
+
},
|
|
503
|
+
"file": "CircleCursor.jsx",
|
|
504
|
+
"dependencies": [
|
|
505
|
+
"react",
|
|
506
|
+
"motion/react"
|
|
507
|
+
],
|
|
508
|
+
"assets": [
|
|
509
|
+
"/img/gal/gal-05.webp"
|
|
510
|
+
],
|
|
511
|
+
"tunable": true,
|
|
512
|
+
"motion": "export const MOTION = {\n follow: { type: 'spring', stiffness: 500, damping: 40, mass: 0.6 }, // trail behind the pointer\n morph: { type: 'spring', stiffness: 400, damping: 32, mass: 1 }, // dot ↔ circle ↔ pill\n labelMs: 200, // \"View project\" fade/scale\n}"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"slug": "buy-morph",
|
|
516
|
+
"name": "Buy → confirm morph",
|
|
517
|
+
"category": "Controls",
|
|
518
|
+
"tags": [
|
|
519
|
+
"checkout",
|
|
520
|
+
"loading",
|
|
521
|
+
"feedback"
|
|
522
|
+
],
|
|
523
|
+
"from": "Product page · online store",
|
|
524
|
+
"source": "E-commerce",
|
|
525
|
+
"description": "The button becomes its own progress indicator: it folds into a circle, spins, lands a check with one beat, then opens back into the label. It wears the glow CTA: hover and a light runs round the rim with a soft halo, and it keeps running while the button works. Click the demo.",
|
|
526
|
+
"hint": "Click it",
|
|
527
|
+
"spec": {
|
|
528
|
+
"Label out": "120 ms · OPA",
|
|
529
|
+
"Morph": "width → circle · 500 ms ENT",
|
|
530
|
+
"Spinner": "arc .25 → .8 · 600 ms",
|
|
531
|
+
"Check": "draw 300 ms ENT · beat 1.05× · ink → green 200 ms",
|
|
532
|
+
"Return": "hold 650 ms · expand 500 ms · label rises 16 px",
|
|
533
|
+
"Glow": "conic rim 1.5 px + 9 px halo · 2.2 s lap",
|
|
534
|
+
"Magnet": "spring k260 · c18 · m0.6 · 30%"
|
|
535
|
+
},
|
|
536
|
+
"file": "BuyMorph.jsx",
|
|
537
|
+
"dependencies": [
|
|
538
|
+
"react",
|
|
539
|
+
"motion/react"
|
|
540
|
+
],
|
|
541
|
+
"assets": [],
|
|
542
|
+
"tunable": true,
|
|
543
|
+
"motion": "export const MOTION = {\n morph: [0.16, 1, 0.3, 1], // width ↔ circle\n morphMs: 500,\n spinMs: 600,\n checkMs: 300,\n labelOutMs: 120,\n glowSpin: 2200, // ms per lap of the rim light\n magnet: { type: 'spring', stiffness: 260, damping: 18, mass: 0.6 }, // pull toward the pointer (30% of the offset)\n}"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"slug": "product-hotspots",
|
|
547
|
+
"name": "Hotspot tooltips",
|
|
548
|
+
"category": "Media & scenes",
|
|
549
|
+
"tags": [
|
|
550
|
+
"media",
|
|
551
|
+
"storytelling"
|
|
552
|
+
],
|
|
553
|
+
"from": "Product page",
|
|
554
|
+
"source": "Concept",
|
|
555
|
+
"description": "Hotspots breathe on the product. Tap one: its tooltip springs out from the dot and the others step back.",
|
|
556
|
+
"hint": "Tap a dot",
|
|
557
|
+
"spec": {
|
|
558
|
+
"Pulse": "scale 1 → 1.9 · 1.6 s loop · 300 ms offset",
|
|
559
|
+
"Tooltip": "spring k420 · c30 · scale .6 → 1",
|
|
560
|
+
"Others": "opacity → .35"
|
|
561
|
+
},
|
|
562
|
+
"file": "ProductHotspots.jsx",
|
|
563
|
+
"dependencies": [
|
|
564
|
+
"react",
|
|
565
|
+
"motion/react"
|
|
566
|
+
],
|
|
567
|
+
"assets": [
|
|
568
|
+
"/img/ex/roadster.webp"
|
|
569
|
+
],
|
|
570
|
+
"tunable": true,
|
|
571
|
+
"motion": "export const MOTION = {\n pop: { type: 'spring', stiffness: 420, damping: 30, mass: 1 }, // tooltip out of the dot + dot scale\n text: [0.16, 1, 0.3, 1], // tooltip lines rise\n textMs: 350,\n breathe: 1600, // ms per idle pulse\n camera: { type: 'spring', stiffness: 170, damping: 26, mass: 1 }, // push-in / pull-out on the photo: soft, no overshoot\n zoom: 1.9, // how far the camera pushes in on a detail\n}"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"slug": "callouts",
|
|
575
|
+
"name": "Feature callouts",
|
|
576
|
+
"category": "Media & scenes",
|
|
577
|
+
"tags": [
|
|
578
|
+
"storytelling"
|
|
579
|
+
],
|
|
580
|
+
"from": "Feature section · online store",
|
|
581
|
+
"source": "E-commerce",
|
|
582
|
+
"description": "Callouts arrive one at a time on the product photo: the dot springs onto the part, the line draws out, the label rises. Hover one to focus it.",
|
|
583
|
+
"hint": "Hover a callout",
|
|
584
|
+
"spec": {
|
|
585
|
+
"Dot": "scale 0 → 1 · spring k400 · c30",
|
|
586
|
+
"Line": "scaleX 0 → 1 · 450 ms ENT, +150 ms",
|
|
587
|
+
"Label": "rise 12 px · +450 ms",
|
|
588
|
+
"Between callouts": "600 ms"
|
|
589
|
+
},
|
|
590
|
+
"file": "Callouts.jsx",
|
|
591
|
+
"dependencies": [
|
|
592
|
+
"react",
|
|
593
|
+
"motion/react"
|
|
594
|
+
],
|
|
595
|
+
"assets": [
|
|
596
|
+
"/img/ex/pocket-turntable.webp"
|
|
597
|
+
],
|
|
598
|
+
"tunable": true,
|
|
599
|
+
"motion": "export const MOTION = {\n dot: { type: 'spring', stiffness: 400, damping: 30, mass: 1 }, // dot springs in\n line: [0.16, 1, 0.3, 1], // line draws out + label rises\n lineMs: 450,\n labelMs: 350,\n gap: 600, // ms between callouts\n}"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"slug": "hold-redeem",
|
|
603
|
+
"name": "Hold to redeem",
|
|
604
|
+
"category": "Controls",
|
|
605
|
+
"tags": [
|
|
606
|
+
"feedback",
|
|
607
|
+
"checkout"
|
|
608
|
+
],
|
|
609
|
+
"from": "Rewards app",
|
|
610
|
+
"source": "Concept",
|
|
611
|
+
"description": "Redeeming is deliberate, so it is a hold: the fill grows while pressed, drains if you let go early, and on completion the voucher turns over to the code.",
|
|
612
|
+
"hint": "Press and hold",
|
|
613
|
+
"spec": {
|
|
614
|
+
"Hold": "1.2 s",
|
|
615
|
+
"Early release": "drain 350 ms ENT",
|
|
616
|
+
"Flip": "rotateY 180° · spring k160 · c20",
|
|
617
|
+
"Tick": "spring k400 · c18, +250 ms"
|
|
618
|
+
},
|
|
619
|
+
"file": "HoldRedeem.jsx",
|
|
620
|
+
"dependencies": [
|
|
621
|
+
"react",
|
|
622
|
+
"motion/react"
|
|
623
|
+
],
|
|
624
|
+
"assets": [],
|
|
625
|
+
"tunable": true,
|
|
626
|
+
"motion": "export const MOTION = {\n hold: 1200, // ms of pressing to redeem (linear on purpose: it is a progress bar)\n drain: [0.16, 1, 0.3, 1], // fill drains back if released early\n drainMs: 350,\n flip: { type: 'spring', stiffness: 160, damping: 20, mass: 1 }, // voucher turns over\n check: { type: 'spring', stiffness: 400, damping: 18, mass: 1 }, // tick pops on the back\n}"
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"slug": "digit-roll",
|
|
630
|
+
"name": "Rolling price",
|
|
631
|
+
"category": "Numbers & data",
|
|
632
|
+
"tags": [
|
|
633
|
+
"checkout",
|
|
634
|
+
"data"
|
|
635
|
+
],
|
|
636
|
+
"from": "Product page · online store",
|
|
637
|
+
"source": "E-commerce",
|
|
638
|
+
"description": "Every digit rolls on its own column with a spring, left to right, and the total trails the quantity. Only digits that change move. Tap + and – to try it.",
|
|
639
|
+
"hint": "Tap + / –",
|
|
640
|
+
"spec": {
|
|
641
|
+
"Digit": "spring k400 · c30 · m1 (~4% overshoot)",
|
|
642
|
+
"Stagger": "50 ms per digit, L → R",
|
|
643
|
+
"Total vs qty": "+80 ms",
|
|
644
|
+
"Column mask": "edge fade 22%",
|
|
645
|
+
"Installments": "140 ms dip, no roll",
|
|
646
|
+
"Keys": "flat · press scale .97 · k600 c30"
|
|
647
|
+
},
|
|
648
|
+
"file": "DigitRoll.jsx",
|
|
649
|
+
"dependencies": [
|
|
650
|
+
"react",
|
|
651
|
+
"motion/react"
|
|
652
|
+
],
|
|
653
|
+
"assets": [
|
|
654
|
+
"/img/ex/headphones.webp"
|
|
655
|
+
],
|
|
656
|
+
"tunable": true,
|
|
657
|
+
"motion": "export const MOTION = {\n digit: { type: 'spring', stiffness: 400, damping: 30, mass: 1 }, // ~4% overshoot\n stagger: 50, // ms between digits, left → right\n lead: 80, // ms the total waits after the quantity\n press: { type: 'spring', stiffness: 600, damping: 30, mass: 1 }, // keycap sink\n}"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"slug": "scroll-text-reveal",
|
|
661
|
+
"name": "Scroll text reveal",
|
|
662
|
+
"category": "Text",
|
|
663
|
+
"tags": [
|
|
664
|
+
"storytelling"
|
|
665
|
+
],
|
|
666
|
+
"from": "Portfolio intro · marketing site",
|
|
667
|
+
"source": "Marketing site",
|
|
668
|
+
"description": "Every character brightens from grey to white as the paragraph travels up the viewport, so reading speed follows scroll speed. Scroll inside the card.",
|
|
669
|
+
"hint": "Scroll inside",
|
|
670
|
+
"spec": {
|
|
671
|
+
"Colour": "#666 → #fff per character",
|
|
672
|
+
"Scroll range": "start 0.75 → start 0.15",
|
|
673
|
+
"Split": "words share progress evenly, letters split their word",
|
|
674
|
+
"Source": "Text_Opacity_Letters.tsx"
|
|
675
|
+
},
|
|
676
|
+
"file": "ScrollTextReveal.jsx",
|
|
677
|
+
"dependencies": [
|
|
678
|
+
"react",
|
|
679
|
+
"motion/react"
|
|
680
|
+
],
|
|
681
|
+
"assets": [],
|
|
682
|
+
"tunable": true,
|
|
683
|
+
"motion": "export const MOTION = {\n scroll: [0.65, 0, 0.35, 1], // auto-scroll curve\n scrollMs: 2400,\n startDelay: 300,\n}"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"slug": "reel-card",
|
|
687
|
+
"name": "Reel card → player",
|
|
688
|
+
"category": "Sheets & navigation",
|
|
689
|
+
"tags": [
|
|
690
|
+
"media"
|
|
691
|
+
],
|
|
692
|
+
"from": "Homepage hero · marketing site",
|
|
693
|
+
"source": "Marketing site",
|
|
694
|
+
"description": "The play pill leans toward the cursor on a light spring. Click and the card itself grows into the player, so the viewer never loses the thing they clicked. Hover and click the demo.",
|
|
695
|
+
"hint": "Hover, then click",
|
|
696
|
+
"spec": {
|
|
697
|
+
"Pill follow": "spring k420 · c34 · m0.6 · 35% of offset",
|
|
698
|
+
"Hover": "pill 1.06× · preview 1.03× over 900 ms ENT",
|
|
699
|
+
"Expand": "750 ms · ENT (.16, 1, .3, 1)",
|
|
700
|
+
"Scrim": "94% black · 500 ms",
|
|
701
|
+
"Close button": ".8 → 1 · 400 ms, +200 ms"
|
|
702
|
+
},
|
|
703
|
+
"file": "ReelCard.jsx",
|
|
704
|
+
"dependencies": [
|
|
705
|
+
"react",
|
|
706
|
+
"motion/react"
|
|
707
|
+
],
|
|
708
|
+
"assets": [
|
|
709
|
+
"/media/reel-gallery-poster.jpg",
|
|
710
|
+
"/media/reel-gallery.mp4"
|
|
711
|
+
],
|
|
712
|
+
"tunable": true,
|
|
713
|
+
"motion": "export const MOTION = {\n grow: [0.16, 1, 0.3, 1], // card → player and back\n growMs: 750,\n scrimMs: 500,\n closeDelay: 200, // close button arrives last\n pill: { type: 'spring', stiffness: 420, damping: 34, mass: 0.6 }, // play pill follows the cursor\n}"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"slug": "day-night",
|
|
717
|
+
"name": "Night → day",
|
|
718
|
+
"category": "Media & scenes",
|
|
719
|
+
"tags": [
|
|
720
|
+
"forms"
|
|
721
|
+
],
|
|
722
|
+
"from": "Dashboard",
|
|
723
|
+
"source": "Dashboard",
|
|
724
|
+
"description": "The whole surface changes theme in one curve: background, ink and icon move together. Click the demo to switch between day and night.",
|
|
725
|
+
"hint": "Tap the card",
|
|
726
|
+
"spec": {
|
|
727
|
+
"Duration": "900 ms",
|
|
728
|
+
"Easing": "TWO (.65, 0, .35, 1)",
|
|
729
|
+
"Icon": "rotate ±40° · scale .6 → 1"
|
|
730
|
+
},
|
|
731
|
+
"file": "DayNight.jsx",
|
|
732
|
+
"dependencies": [
|
|
733
|
+
"react",
|
|
734
|
+
"motion/react"
|
|
735
|
+
],
|
|
736
|
+
"assets": [],
|
|
737
|
+
"tunable": true,
|
|
738
|
+
"motion": "export const MOTION = {\n fade: [0.65, 0, 0.35, 1], // the whole surface, one curve\n fadeMs: 900,\n}"
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"slug": "image-cursor",
|
|
742
|
+
"name": "Image cursor",
|
|
743
|
+
"category": "Cursor & hover",
|
|
744
|
+
"tags": [
|
|
745
|
+
"hover",
|
|
746
|
+
"navigation"
|
|
747
|
+
],
|
|
748
|
+
"from": "Project list · marketing site",
|
|
749
|
+
"source": "Marketing site",
|
|
750
|
+
"description": "A portrait rides the pointer over the list and flips through the project photos, lagging on a spring so it feels carried rather than glued.",
|
|
751
|
+
"hint": "Hover the list",
|
|
752
|
+
"spec": {
|
|
753
|
+
"Frame": "160 × 230 · radius 5 (shown at 70%)",
|
|
754
|
+
"Photos": "5 variants, 520 ms each",
|
|
755
|
+
"Follow": "spring k220 · c26 · m0.8",
|
|
756
|
+
"In / out": "scale 0 ↔ 1 from the pointer"
|
|
757
|
+
},
|
|
758
|
+
"file": "ImageCursor.jsx",
|
|
759
|
+
"dependencies": [
|
|
760
|
+
"react",
|
|
761
|
+
"motion/react"
|
|
762
|
+
],
|
|
763
|
+
"assets": [
|
|
764
|
+
"/img/gal/gal-01.webp",
|
|
765
|
+
"/img/gal/gal-02.webp",
|
|
766
|
+
"/img/gal/gal-03.webp",
|
|
767
|
+
"/img/gal/gal-04.webp",
|
|
768
|
+
"/img/gal/gal-05.webp",
|
|
769
|
+
"/img/gal/gal-06.webp",
|
|
770
|
+
"/img/gal/gal-07.webp",
|
|
771
|
+
"/img/gal/gal-08.webp",
|
|
772
|
+
"/img/gal/gal-09.webp",
|
|
773
|
+
"/img/gal/gal-10.webp",
|
|
774
|
+
"/img/gal/gal-11.webp",
|
|
775
|
+
"/img/gal/gal-12.webp",
|
|
776
|
+
"/img/gal/gal-13.webp"
|
|
777
|
+
],
|
|
778
|
+
"tunable": true,
|
|
779
|
+
"motion": "export const MOTION = {\n follow: { type: 'spring', stiffness: 220, damping: 26, mass: 0.8 }, // lag behind the pointer\n pop: { type: 'spring', stiffness: 300, damping: 26, mass: 1 }, // scale in / out from the pointer\n cycle: 520, // ms per photo\n}"
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"slug": "work-card-hover",
|
|
783
|
+
"name": "Work card hover",
|
|
784
|
+
"category": "Cursor & hover",
|
|
785
|
+
"tags": [
|
|
786
|
+
"hover",
|
|
787
|
+
"media"
|
|
788
|
+
],
|
|
789
|
+
"from": "Project grid · marketing site",
|
|
790
|
+
"source": "Marketing site",
|
|
791
|
+
"description": "The image eases in, a hairline and a marquee banner cross the middle, and the title rolls to its twin. Hover or tap the card.",
|
|
792
|
+
"hint": "Hover or tap",
|
|
793
|
+
"spec": {
|
|
794
|
+
"Image": "scale 1 → 1.06 · 900 ms ENT",
|
|
795
|
+
"Line": "1 px white · scaleX from left",
|
|
796
|
+
"Banner": "marquee · gap 300 px",
|
|
797
|
+
"Title": "Text1 ↑ / Text2 ↑ · 600 ms ENT"
|
|
798
|
+
},
|
|
799
|
+
"file": "WorkCardHover.jsx",
|
|
800
|
+
"dependencies": [
|
|
801
|
+
"react",
|
|
802
|
+
"motion/react"
|
|
803
|
+
],
|
|
804
|
+
"assets": [
|
|
805
|
+
"/img/gal/gal-12.webp"
|
|
806
|
+
],
|
|
807
|
+
"tunable": true,
|
|
808
|
+
"motion": "export const MOTION = {\n ease: [0.16, 1, 0.3, 1], // line, title roll and image zoom\n rollMs: 600, // title roll + line draw\n zoomMs: 900, // image scale 1 → 1.06\n bannerMs: 300, // marquee fade\n marqueeMs: 6000, // one loop of the banner\n}"
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"slug": "capabilities-accordion",
|
|
812
|
+
"name": "Capabilities accordion",
|
|
813
|
+
"category": "Sheets & navigation",
|
|
814
|
+
"tags": [
|
|
815
|
+
"navigation",
|
|
816
|
+
"storytelling"
|
|
817
|
+
],
|
|
818
|
+
"from": "Services list · marketing site",
|
|
819
|
+
"source": "Marketing site",
|
|
820
|
+
"description": "Rows unfold to their own height while the plus turns into a minus. One open at a time, hairline rules in Light Grey 20%.",
|
|
821
|
+
"hint": "Tap a row",
|
|
822
|
+
"spec": {
|
|
823
|
+
"Height": "0 → auto · 500 ms ENT",
|
|
824
|
+
"Icon": "rotate 90° + bar collapse · 400 ms",
|
|
825
|
+
"Rule": "1 px · rgba(187,187,187,.2)",
|
|
826
|
+
"Copy": "example services copy"
|
|
827
|
+
},
|
|
828
|
+
"file": "FaqAccordion.jsx",
|
|
829
|
+
"dependencies": [
|
|
830
|
+
"react",
|
|
831
|
+
"motion/react"
|
|
832
|
+
],
|
|
833
|
+
"assets": [],
|
|
834
|
+
"tunable": true,
|
|
835
|
+
"motion": "export const MOTION = {\n ease: [0.16, 1, 0.3, 1],\n unfoldMs: 500, // answer height + fade\n iconMs: 400, // plus → minus\n}"
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"slug": "nav-letter-roll",
|
|
839
|
+
"name": "Nav letter roll",
|
|
840
|
+
"category": "Text",
|
|
841
|
+
"tags": [
|
|
842
|
+
"navigation",
|
|
843
|
+
"hover"
|
|
844
|
+
],
|
|
845
|
+
"from": "Menu · marketing site",
|
|
846
|
+
"source": "Marketing site",
|
|
847
|
+
"description": "Links are split into letters; on hover each letter rolls up to a blue twin, 25 ms apart, so the word ripples left to right.",
|
|
848
|
+
"hint": "Hover a link",
|
|
849
|
+
"spec": {
|
|
850
|
+
"Roll": "y 0 → −110% · 500 ms ENT",
|
|
851
|
+
"Stagger": "25 ms per letter",
|
|
852
|
+
"Twin": "/Blue rgb(0, 153, 255)"
|
|
853
|
+
},
|
|
854
|
+
"file": "NavLetterRoll.jsx",
|
|
855
|
+
"dependencies": [
|
|
856
|
+
"react",
|
|
857
|
+
"motion/react"
|
|
858
|
+
],
|
|
859
|
+
"assets": [],
|
|
860
|
+
"tunable": true,
|
|
861
|
+
"motion": "export const MOTION = {\n ease: [0.16, 1, 0.3, 1],\n rollMs: 500, // each letter's roll\n stagger: 25, // ms between letters\n}"
|
|
862
|
+
}
|
|
863
|
+
]
|
|
864
|
+
}
|