add_polygon
Create a polygon in a ManimGL scene by specifying vertices, color, fill opacity, and stroke width for mathematical animations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | #FFFFFF | |
| vertices | Yes | ||
| fill_opacity | No | ||
| stroke_width | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||