Description
As we are restructuring how manim is configured right now, I have some suggestions:
class Example(Scene):
def construct(self):
dot = Dot().set_color(GREEN)
dot.set_color(RED)
dot.color=BLUE
print(dot.color)
self.add(dot)
self.wait(1)
This script adds a red dot to the scene, however, it prints the # for blue color.
Here it would be nice if dot.color=BLUE would actually change the color to blue on the displayed dot.
Secondly:
class Example(Scene):
def construct(self):
dot = Dot(radius=0.1)
print(dot.radius) # prints 0.1
dot.set_width(2)
print(dot.radius) # prints 0.1
dot.radius = 10
print(dot.radius) # prints 10
self.add(dot) # adds dot with radius 2
Here, we can set the width of a dot, which changes its radius, but the attribute parameter of Dot is not touched.
At the same time, when the radius attribute of Dot is touched, the displayed dot won't change its shape.
I think that this is not a big problem, but in case there is a nice solution to it, that would be great!
And thirdly:
class Example(Scene):
def construct(self):
t1 = Text("1")
t2 = Text("2").next_to(t1)
t3 = Text("3").next_to(t2)
self.add(t1,t2,t3)
This is producing White text for all three text Mobjecs. When a white background is used, I think it would be nice to have an easy option to change the default parameter once of Text at the beginning of the script, without the necessity to change it for all three TextMobjects
Metadata
Metadata
Assignees
Type
Projects
Status