We build now standard Element: the switch checkbox. A switch allows the user to quickly toggle between two possible states: on and off
Project 2 : the switch checkbox
CSS Switch with an easeInOutBack function
"Übergangsfunktionen(engl. easing functions) bestimmen die Änderungsrate eines Parameters im Verlauf der Zeit.
Objects in real life don’t just start and stop instantly, and almost never move at a constant speed. When we open a drawer, we first move it quickly, and slow it down as it comes out. Drop something on the floor, and it will first accelerate downwards, and then bounce back up after hitting the floor." quelle: easings.net
here also an explanation: what-is-an-easing-function and at css tricks: ease-y-breezy-a-primer-on-easing-functions
We want later to magnify the animation details, some extra graphical elements will be added and the timing will be slowed, but at the first step we want to build a 'standard' switch
We can change the form of the inner circle, we use compressing and stretching the shape as a way to add flexibility and elasticity to the animation. (Squash und Stretch)
Add a slight bounce, we can supose the switch is a solid object, so we try to add even more realism with more bounce, we can just exagerate first so we can see what happens first
In comics, motion lines (also known as movement lines, action lines, speed lines,[1] or zip ribbons) are the abstract lines that appear behind a moving object or person, parallel to its direction of movement, to make it appear as if it is moving quickly. text source
Is it possible to do this with Smart Animate and Drag Triggers??
We Test On Drag between Variants:
We Test On Drag between Variants:
We Test On Drag between Two Frames
We Test On Drag between Variants:
I teach UI Interaction design and work with Figma, in my classes we analyze in-depth the mechanics of the tool in order to achieve more complex ui interfaces.
This is a documentation of the learn process