Using Shape to Animate Fireworks! - WWDC21 SwiftUI Part 12

Опубликовано: 28 Декабрь 2021
на канале: Coding With Tom
919
10

New Year's Eve is close! In spirit of this event let's create Fireworks! Using Shape and GeometryEffect we will create a Firework that fires up and explodes. We will do this inside of a ViewModifier so that we can fire fireworks on top of whatever View we want.

Chapters:
0:00 Using Shape and Animations to Create Fireworks Effect
0:26 Creating FireworkModifier
5:45 Moving the Fireworks with Translation
11:18 Using Shape to Animate The Firework Explosion
16:30 Hiding Fireworks at the Start with Opacity

Source code: https://github.com/codingWithTom/WWDC...

WWDC 2021 playlist:    • WWDC 2021  

Intro song: All That from Bensound.com
Outro song: Happiness from Bensound.com