How do I animate a group of shapes while constantly deleting some and adding more?

2 visualizzazioni (ultimi 30 giorni)
I am trying to model something like smoke coming out of a chimney, and I plan to model the smoke using circles that are constantly coming out of the chimney, while the ones that are further away fade/disappear. I don't need help with the specifics of the model. The only issue I am currently facing is how to go about animating this group of circles, where some are being added, and others are being deleted. Preferably using for loops so I can manipulate each circle as I please. Thank you in advance!

Risposte (1)

Image Analyst
Image Analyst il 28 Lug 2017
Try changing the inputs to viscircles() in a for loop.
  1 Commento
foweifnewoi
foweifnewoi il 28 Lug 2017
Hi Image Analyst. Thanks for the reply. Unfortunately, this isn't what I'm looking for. I know how to plot the circles on the graph. The issue I'm having is animating them all at once (each with unique movement), while adding new circles and deleting old ones. Thanks.

Accedi per commentare.

Categorie

Scopri di più su Animation in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by