VMobject cannot achieve gradient effect
- Dominant language
- Python
- Stars
- 93.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
### Describe the bug
Before, the following code can achieve the gradient effect:
**Code**:
```
class Bg(Scene):
def construct(self):
bg = FullScreenRectangle(fill_color=["#032348","#46246d","#31580a","#852211",])
self.add(bg)
```
**Output:**

**Wrong display or Error traceback**:
But now the output is

### Additional context
Is there a way to change it to the previous effect, or is there a new way to achieve it?
Contributor guide
No contributing guide indexed for this repository
Research direction
Look at the VMobject and FullScreenRectangle classes in manim, particularly the fill_color handling and gradient generation. Check recent changes to color interpolation or shader code. Run the provided code to reproduce the issue, then compare with older versions to understand what changed. The goal is to restore the gradient effect when a list of colors is passed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100