3b1b / 3b1b/manim

Rotated thin ImageMobjects jitter on animation

オープン
#366 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
93.9k
フォーク
7.7k
平均マージ
2日 13時間
マージ済み PR(30日)
4

説明

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))`.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。