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

1 view (last 30 days)
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!

Answers (1)

Image Analyst
Image Analyst on 28 Jul 2017
Try changing the inputs to viscircles() in a for loop.
  1 Comment
foweifnewoi
foweifnewoi on 28 Jul 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.

Sign in to comment.

Categories

Find more on Animation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!