Help please #4194
Unanswered
HopedCastle1823
asked this question in
Q&A
Help please
#4194
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a code, but it doesn't work the way I wanna. I want the dots to rotate WHILE moving to the right, but when I put the "grupo1.animate.shift(RIGHT * move_distance),", it stops the rotation and only move to the right. How can i fix that?
`from manim import *
import numpy as np
class GridWithCircles(Scene):
def construct(self):
# Crear un plano cuadriculado
grid = NumberPlane(
x_range=[-20, 20],
y_range=[-20, 20],
).shift(DOWN * 2 + LEFT * 4) # Mueve el plano
self.play(Create(grid), run_time=2)
self.wait(1)
Ejecutar la escena
if name == "main":
scene = GridWithCircles()
scene.render()`
Beta Was this translation helpful? Give feedback.
All reactions