A UI animation demo in modded GPUI, using temporal sub-frame multisampling to push perceived smoothness beyond 60Hz limits
https://youtu.be/q7CiWsawJ64I modded GPUI to build a UI animation demo with temporal sub-frame multisampling. Turns out, even at 60Hz, rendering sub-frames at a higher multiple and blending them together gives you perceived smoothness well beyond the refresh rate limit.
Apple could probably make the MacBook Neo and iPad mini feel a lot less like e-waste if they tried this.
Not posting the source code since the idea and implementation are pretty simple, and it's just a demo.
(Note: Watch in 1080p60.)
25
Upvotes
18
u/nuclearbananana 1d ago
Much less clarity though. This is good for visual effects but I'd hate to scroll through a page using this, you couldn't make out anything
7
u/Narrow-Glove1084 1d ago
"temporal sub-frame multisampling" so just motion blur? Do correct me if i'm wrong
3
u/Helpful-Educator-415 1d ago
Fascinating. Like motion blur for UI.
16
u/GaboureySidibe 1d ago
I'm not sure where the idea comes from the GUIs need extreme optimizations like subsampling.
GUIs have been fast since the 90s. If people could make buttons and labels 30 years ago on a 486 50mhz, we can do it today on a CPU that runs at 100x the clock speed, triple the integer lanes and SIMD that lets you do at least 8 float ops per cycle.
If someone is making a GUI and it isn't fast, they have an optimization problem, not a sampling problem (why is a GUI 'sampling' in the first place?)
1
u/words_number 2h ago
Looks very smooth and nice as a tech demo :)
But please, everyone, stop ruining your UX with animations. They suck. If I click on something, ideally that thing has already happened. There is no better UX than that. Everything else makes me busy wait for nothing. Especially terrible: Menus with submenus where I have to wait for every sub menu to unfold instead of just operating at the speed of thought 🤮
-6
u/caniar 1d ago
Stop arguing about motion blur hurting text readability. I've tested all animation speeds under both 60Hz (1x/4x) and 120Hz (1x/2x) configurations, and as long as my gaze actively tracks the moving text, there's no difference in text recognition whatsoever. Your visual cortex effortlessly decodes multisampling. In fact, if I can't make out the multisampled version, I can't make out the standard rendered version either.
-2
u/DavidXkL 1d ago
Wow very cool