simibac / ConfettiSwiftUI

SwiftUI Package for Configurable Confetti Animation 🎉
MIT License
1.71k stars 117 forks source link

Trouble with higher num: values #17

Closed AirborneEagle closed 2 years ago

AirborneEagle commented 2 years ago

Expected Behaviour

There should appear the number of confetti I decide

Actual Behavior

it takes too long to render the number I have chosen. and either they do not render, or they are delayed, and then disappear suddenly during animation.

Steps to Reproduce the Issue

simibac commented 2 years ago

Thanks for reporting. What device are you using?

AirborneEagle commented 2 years ago

Xcode canvas, iPhone Simulators, and a physical iPhone 6s

simibac commented 2 years ago

This project is an experiment to learn how to animate and span new views in SwiftUI. It is not the most perfomant way of animating large numbers of views, I agree. Especially old devices will have a hard time. Have a look at CAEmitterLayer for better performance.