Borrar filtros
Borrar filtros

Is there a way to use fill with animatedline?

1 visualización (últimos 30 días)
Cye
Cye el 15 de Mayo de 2024
Comentada: Cye el 15 de Mayo de 2024
I'm generating animations consisiting of various closed curves (tiles) moving about each other. I'm presently using animated line to accomplish this, but I would like to try using diffeerent colors for the individual tiles. I cannot find any way to fill them in the context of the animated line, so I'm asking if it's possible.

Respuesta aceptada

Walter Roberson
Walter Roberson el 15 de Mayo de 2024
No, animated lines cannot handle fill.
Consider instead creating a hgtransform for each tile. To move the individual tiles, set the Matrix property to a transformation -- possibly with the aid of makehgtform to set the Translation (and possibly the rotation) of the individual object.

Más respuestas (0)

Categorías

Más información sobre Animation en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by