How to color a cylinder?
I am just trying to render a red cylinder. But the cylinder comes out blue with a checker pattern on its side (I want it red and without the checkered pattern)
from manim import *
class RotateTable(ThreeDScene):
def construct(self):
cylinder = Cylinder(radius=2, height=3,
color=RED, fill_opacity=1,
stroke_opacity=0, stroke_width=0).shift(0.5*RIGHT+1*IN + 0.001*OUT)
self.add(cylinder)
self.set_camera_orientation(phi=70*DEGREES, theta=0)
self.wait(1)