Aayush Arora
@angularboy
Founder & CEO FilterPixel
Google Developer Expert
MIT & Draper University Graduate
Open Source Contributor at NASA, CloudCV, FOSSASIA and OpenDesign
Little Animations
Used for User Engagement
Communicating Status and Providing Feedback
Enhancing the sense of direct Manipulation
Helping people to see the result of their action
Scrollbar
GIFs
Email Notification
Scrollbar
GIFs
Email Notification
✔️
✔️
❌
Cue — Trigger that initiates action
Routine — In response to the cue, you perform an action
Reward — A benefit you get from completing the routine, reason for completing action
If individual interactions are the cells that make up the UX, then microinteractions are the atoms within the cells.
As technology continues to develop, designers are able to delve deeper into the tinier interactions of a UI, and so microinteractions are the new frontier.
MICROINTERACTION
Maths inside your browser
Save HTTP Requests
DOM Visibility
Support by all Browsers
Make Life Easier with Animations
Responsive and Scalable graphics
Snap.svg [ http://snapsvg.io/ ]
Svg.js [ http://svgjs.com/ ]
GreenSock [ https://greensock.com/ ]
Simple Syntax
Timeline
Nested Timelines
Draggables
DrawSVG
Stagger
MorphSVG
CSS Class
Variable object
Creating Tween
var svgTween = new TimelineMax({
delay: 0.5
});
svgTween.to('#content', .5,{
scale: 1
})
svgTween.fromTo('#content', .5, {
scale: 1
},{
scale: 1.2
})
Syntax: {to}, {fromTo}
function runAnimation() {
toggle = true;
svgTween.fromTo('#content', .5, {
scale: 1
},{
scale: 1.2
})
svgTween.fromTo('#border',.9 ,{
height: 0
}, {
height: '100px',
strokeWidth: '6',
ease: Expo.easeIn
});
svgTween.to("#rotate", .5, {
rotation: '45deg',
transformOrigin:"50% 50%"
});
}
function reset() {
toggle = false;
svgTween.to('#content', .5,{
scale: 1
})
svgTween.to('#border',.8,{
height: 0
})
svgTween.to('#rotate',.9 ,{
rotation: 0
})
}
Code
Trigger at Start Point
Collection of SVG's
Daisy Chain Effect
End at the Start Point
Credits: Sarah Drasner
Trigger on onChange Event
Reactions based on User Inputs
Provide Feedback in Real Time
Founder, FilterPixel
@angularboy