How to "ping" an arrow
- Lenguaje dominante
- Python
- Estrellas
- 93.8k
- Forks
- 7.7k
- Métricas de merge de PR
- Métricas de PR pendientes
Descripción
I would love to have a short ping in my arrow. The Animation would first ```.set_color(ping)``` and after that ```.set_color(original)```. I have discoverd how to use ```FadeToColor``` however only sets the color from the top and not along the stem of the arrow.
Is there any way for me to let the color fade from the bottom of the stem or not?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Look at the Arrow class in manim/mobject/geometry/line.py to understand how color is applied. Investigate the set_color method and the FadeToColor animation. The goal is to create a new animation that changes color along the arrow's stem, perhaps by modifying the shader or using a gradient. Test by creating a simple scene with an arrow and trying to apply the new effect.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- computer-graphics
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100