3b1b / 3b1b/manim

Rotated thin ImageMobjects jitter on animation

Ouverte
#366 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
93.9k
Forks
7.7k
Merge moyen
2 j 13 h
PR mergées (30 j)
4

Description

When an ImageMobject is much taller than wide, rotated, and then moved in an animation, it jitters around its supposed position.

```python
class TestScene(Scene):
def construct(self):
pencil = ImageMobject(filename_or_array='pencil_white2').rotate(TAU/8)
self.add(pencil)
self.play(pencil.move_to, RIGHT)
```

- This only happens with images that are taller than wide, not the other way around.
- The initial rotation is necessary to produce the bug.
- An unrotated ImageMobject also jitters on `self.play(pencil.rotate, TAU/4)`, but not on `self.play(Rotate(pencil, TAU/4))`.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.