Graham Clapham (@grahamclapham) header
Graham Clapham (@grahamclapham) profile picture

English as tuppence, changing yet changeless as canal water...

London
Joined April 2009
Photo by Graham Clapham (@grahamclapham)Photo by Graham Clapham (@grahamclapham)Photo by Graham Clapham (@grahamclapham)Photo by Graham Clapham (@grahamclapham)Photo by Graham Clapham (@grahamclapham)Photo by Graham Clapham (@grahamclapham)Photo by Graham Clapham (@grahamclapham)
Graham Clapham retweeted
you don't need threejs for this effect just apply `perspective` to the container and animate each image with `translate3d(...)` over time, where depth is something like `z = z0 + speed * dt` and the rest is handled by the browser easy to map opacity or scroll to speed too
26
86
10
1,933
117,709
Graham Clapham retweeted
3
228
4
1,199
79,826
Graham Clapham retweeted
Math is beautiful…
84
673
57
3,054
107,986
Graham Clapham retweeted
Setting up...
13
38
2
427
37,711
Graham Clapham retweeted
45 years ago, to the day!
2
5
1
25
928
Graham Clapham retweeted
here's the quoted demo if you want to try it out 🤙 it's a CSS combo of: - sticky positioning - scroll-snap - progressively enhanced scroll animation 🤌
Les Scroll-Driven Animations, ça peut être compliqué à débuguer parfois, surtout quand on a besoin de contrôler le début et la fin de l'animation avec animation-range et qu'on n'a aucun repère visuel. @bramus a développé un plugin pour tout visualiser : chromewebstore.google.com/de…
12
57
3
1,266
88,145
❌ Avoid using useState() for complex state management in React ✅ Instead use useReducer: 1. Predictable State Transitions 2. Easier to test 3. Scales better
14
72
4
801
47,511
⚛️ Use callback ref functions instead of useEffect (when possible) ↓
20
114
5
1,448
94,182
Graham Clapham retweeted
INTERCONNECTED dramatically portrays the hidden troves of operational data at CLT Airport that feeds that drive the artwork include global and regional air-traffic tracking software, airline flight info (arrivals/departures), baggage handling systems, and parking and shuttles – at Los Angeles, CA
12
394
47
1,325
Graham Clapham retweeted
Absolutely fascinating. I love @refikanadol's work—so cool!
Dear friends, I’m so excited to introduce Living Encyclopedia: Large Nature Model (LNM)—an AI-powered platform of DATALAND that reimagines the traditional concept of an encyclopedia by transforming vast nature-based datasets into immersive, multi-sensory experiences.
3
32
5,872
Graham Clapham retweeted
trick to this CSS-only styled range slider is a scroll animation on the underlying [type=range] – animate a custom property from 0 to 100 – use that value to style visual elements – style the input so you get better hit spots covered in this week's "Craft of UI" 👇
CSS-only balance slider ☕️ the trick: a scroll-driven animation on the [type=range] thumb that updates custom property values those get used in a counter (the label numbers) and to restyle the bar 🔥 (few lines of JavaScript to "polyfill" it) video reveals the <input> 👇
4
12
2
318
27,869
Graham Clapham retweeted
If you're a designer, and you don't use these color tools are you even a designer? 1. Radix UI custom palette
36
168
12
2,372
264,985
Graham Clapham retweeted
⚛️ One component, many forms: the power of polymorphic React components ↓
9
82
2
790
59,789
Graham Clapham retweeted
Modular fabric has embedded sensors that respond to movement
834
5,425
1,155
48,269
9,952,923
Graham Clapham retweeted
NVIDIA just released free online courses. No payment required. Here are best courses you don't want to miss in 2024:
20
125
6
574
125,314
Graham Clapham retweeted
Subscription Calendar with more details. Made with Tailwind and Framer Motion. Inspired by @KumailNanji
50
122
14
1,781
133,887
Graham Clapham retweeted
7 Ways Centering a Div in CSS.
4
73
1
465
22,479
Intrépidos Punks 1988 / Mexico / Francisco Guerrero ⚡️sound on⚡️
14
130
15
742
57,145
Graham Clapham retweeted
TIL you can mock fetch natively in Node. What the absolute
33
112
8
1,527
112,989
Graham Clapham retweeted
Subscriptions Calendar. Made with Tailwind and Framer Motion. Inspired by @KumailNanji
142
406
39
5,705
418,869