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,937
117,693
Graham Clapham retweeted
3
228
4
1,198
79,824
Graham Clapham retweeted
Math is beautiful…
84
674
57
3,057
107,977
Graham Clapham retweeted
Setting up...
13
38
2
427
37,707
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,267
88,143
❌ 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
802
47,508
⚛️ Use callback ref functions instead of useEffect (when possible) ↓
20
114
5
1,449
94,180
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,324
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
319
27,865
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,973
Graham Clapham retweeted
⚛️ One component, many forms: the power of polymorphic React components ↓
9
82
2
790
59,786
Graham Clapham retweeted
Modular fabric has embedded sensors that respond to movement
835
5,427
1,155
48,286
9,952,886
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
575
125,313
Graham Clapham retweeted
Subscription Calendar with more details. Made with Tailwind and Framer Motion. Inspired by @KumailNanji
50
122
14
1,780
133,880
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
743
57,140
Graham Clapham retweeted
TIL you can mock fetch natively in Node. What the absolute
33
112
8
1,527
112,986
Graham Clapham retweeted
Subscriptions Calendar. Made with Tailwind and Framer Motion. Inspired by @KumailNanji
142
406
39
5,706
418,861