/   liaise.biz     HiTech   / English  

2019-10-13 11:27:58

{"title":"iOS Animations with Figma’s Smart Animate","alias":"ios-animations-with-figma-s-smart-animate-1570958917456-krNazLPfQg","url":"https://uxdesign.cc/ios-animations-with-figmas-smart-animate-954c13a30cad","canonicals":["https://uxdesign.cc/ios-animations-with-figmas-smart-animate-954c13a30cad","https://sidebar.io/out?url=https%3A%2F%2Fuxdesign.cc%2Fios-animations-with-figmas-smart-animate-954c13a30cad","https://uxdesign.cc/ios-animations-with-figmas-smart-animate-954c13a30cad?gi=5b27e9033442"],"description":"Figma just released two long-awaited features: Smart animate and drag-interaction. I put them to the test by creating five iOS animations.","content":"

✅ What worked: Animating color, size, and position of simple shapes.

❌ What didn’t work: Animating complex/boolean shapes.

Animating boolean shapes doesn’t work.

Initially, I made the crescent moon from a boolean shape so the gradient fill in the background would be displayed properly without anything blocking it. From the image above, that’s Ellipse(main) minus Ellipse(subtract). However, when I animated this boolean shape, this happened.

With Smart Animate, there’s a new feature that emphasizes each instance of an element on different artboards. To borrow the words of Nikolas Klein of Figma, “It highlights all objects in other frames that will match up in case of a Smart Animate transition.”

The highlighting feature comes in handy when you have multiple elements linked by Smart Animate

I used this feature to understand what’s really going on and why the boolean shape wasn’t being animated properly.

Testing which elements are linked by Smart Animate

You can see that the icon tiles (rounded rectangles) are linked, but the boolean shapes aren’t. Instead of two instances of one element, they’re treated as two different objects.

But it works great with simple shapes.

So to work with Smart Animate, I had to sacrifice background gradient-fill and use simple shapes with solid fills instead. In the example below, size, color, and position of different shapes were modified between animation states.

All simple homogenous shapes are detected and connected as Smart Animate elements.FINAL RESULTWorking animation, at a cost of giving up gradient background.","image":"https://miro.medium.com/freeze/max/600/1*zFnRnX-nOHddI2627sR0Yw.gif","author":"Lucas Chae

smart animate shapes animations figmas https boolean simple 954c13a30cad background elements animating

User comments