3b1b / 3b1b/manim

The last few characters of the output text effect in save mode(-w) are blurred

Aberta
#2,083 0 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
Python
Estrelas
93.9k
Forks
7.7k
Merge médio
2d 13h
PRs com merge (30d)
4

Descrição

`class Test(Scene):
def construct(self):
circleRadiusLabel = Text("r=4m", font_size=36, color=RED)
self.play(Write(circleRadiusLabel))`
![eee](https://github.com/3b1b/manim/assets/11401345/fa8ede56-8ee5-4eea-8658-8f3686015108)
This is my code.

I found that this code works fine in interactive mode, as shown in the following figure
![qqq](https://github.com/3b1b/manim/assets/11401345/42d600cb-f6ff-4083-b6fd-f42b70d02adb)

But after saving it as a video, the last few characters of the text in the animation are blurred after playing, and it feels like SVG has not finished rendering, as shown in the following figure.
![www](https://github.com/3b1b/manim/assets/11401345/fff15a43-e774-4793-a2e5-a8fd7b2a42f0)

Have you ever encountered this problem? I feel that this problem is easy to occur

I am using tag v1.6.1

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

O problema é sobre o efeito de animação Write em objetos Text ao salvar vídeo (-w mode) versus o modo interativo. Veja a classe de animação Write em manim/animation/creation.py e o pipeline de renderização de texto, possivelmente em manim/mobject/svg/text_mobject.py. Compare como os frames são renderizados na visualização interativa em comparação com a exportação de vídeo. Teste com o exemplo mínimo fornecido para reproduzir o desfoque no final do texto.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Domínio
computer-graphics
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Claramente especificada
Facilidade para iniciantes
55/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.