Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Suggestion: Random Walk Class #6

Open
kolibril13 opened this issue Jul 18, 2021 · 2 comments
Open

Feature Suggestion: Random Walk Class #6

kolibril13 opened this issue Jul 18, 2021 · 2 comments

Comments

@kolibril13
Copy link

As the name says, a Class that can start a random walk for any Mobject that it receives.
Similar to this one:
https://www.youtube.com/watch?v=4c4lVjHGRjU

@kevinlu1248
Copy link

kevinlu1248 commented Aug 10, 2021

I've done this before without the manim_physics or pymunk libraries. Just construct a sequence of points and make each circle move to each point in succession. I can share my implementation a bit later.

Edit: sorry let me rephrase a bit. I meant that this doesn't necessarily have much to do with physics, in my opinion, although it could be still a worthwhile addition to the library.

@kolibril13
Copy link
Author

I also implemented it here: https://flyingframes.readthedocs.io/en/latest/ch1.html#Pre-Execute-Slow-Code
What I was thinking:
When adding gravity to an mobject, it would be cool to also add Brownian motion to an mobject, together with a diffusion constant. Yes, it is not necessarily physics, but would possibly fit here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants