Did anyone say Retargetable View Transitions (aka Interruptible View Transitions)? I think I’ve got it working (by throwing some extra JavaScript at it) …
9 reposts117 likes
Did anyone say Retargetable View Transitions (aka Interruptible View Transitions)? I think I’ve got it working (by throwing some extra JavaScript at it) …
9 reposts117 likes
You can sniff out the VT animations if you want (see www.bram.us/2025/01/01/v... for details) but I rely on manually getting the position of the animated subjects — hello getBoundingClientRect — before and after the VT.
Here’s an updated version of that first demo, using a technique @kvndy.bsky.social taught me: relative animations. The path the dot follows is much smoother now as it doesn’t get interrupted at its mid-flight location but, instead, the new animation gets added to the existing ones. However …