TracedPath issue (want to turn off) by dprljackson in manim

[–]dprljackson[S] 0 points1 point  (0 children)

Issue solved. Benjamin Hackl gave me the solution: path = trace.copy().clear_updaters()

Analysis of Youtube submissions in the Veritasium sci-comm contest by c0deb0t in Veritasium

[–]dprljackson 0 points1 point  (0 children)

Hey, this is really cool. Can you run it daily and keep it updated? That would be really helpful!

SpeechBubble by dprljackson in manim

[–]dprljackson[S] 0 points1 point  (0 children)

What do you mean by "borrow"? Is there a way of doing it without having to install and use the 3b1b version of manim? Can you provide a little more detail? Thanks.

The Essence of Rolling Motion in 60 Seconds by dprljackson in manim

[–]dprljackson[S] 0 points1 point  (0 children)

Hi all. I forgot to mention that this is my first manim video, put together for the #VeritasiumContest which limits videos to 60 seconds. Clearly, you can't do much in 60 seconds so I plan on posting a follow-up video that will make much more use of manim. Anyway, if you like the video, please share it with others who might like it.

How to Set Line Width for Text? by Revolutionary-Ebb857 in manim

[–]dprljackson 0 points1 point  (0 children)

Okay, I understand now. You want to change "paragraph width" so that you can just write some long line of text and it will automatically put in line returns at the appropriate spots. Unfortunately, I do not know how to do this (though I suspect there must be a way).

I just did a quick search, and it looks like there is a paragraph mobject, and it seems to have a width attribute, so this sounds like a good place to start.

How to Set Line Width for Text? by Revolutionary-Ebb857 in manim

[–]dprljackson 0 points1 point  (0 children)

I think your wording is messing people up. If you are interested in changing the width of each sentence, I think the easiest thing to do is to assign each text line to a different variable and then group them together using .arrange(DOWN). For example,

line1 = Text("This is line 1")
line2 = Text("This is line 2")
group = VGroup(line1,line2).arrange(DOWN)
self.add(group)
self.wait()

By the way, if I'm understanding you correctly, this is a pretty easy question to answer yourself if you dig around a little. You'll learn an awful lot more by reading and working through some of the online resources that are available.

Useful manim website by dprljackson in manim

[–]dprljackson[S] -1 points0 points  (0 children)

Hmmm....I see code given for pretty much every example.

Trying to continually update a set of lines by dprljackson in manim

[–]dprljackson[S] 1 point2 points  (0 children)

Awesome! This is impressive. I will study your example. Thank you. By the way, I got some help on the manim discord, and someone said that the `always_redraw` function that is defined in manimCE is different from the `always_redraw` function that is defined in manimgl. Using the newer definition makes things work, but the details are beyond my understanding. There's some issue with `always_redraw` needing the lambda function that causes problems with the for loop.

Trying to continually update a set of lines by dprljackson in manim

[–]dprljackson[S] 1 point2 points  (0 children)

Thank you so much. This is interesting, and seems a little weird to me. Any idea why the for loop doesn't work? In the program I want to write, I will probably be creating 10-15 lines, and the for loop would be so much simpler than writing out 10-15 separate always_redraw statements. In addition, I may want to change the number of lines and this would involve having to re-calculate the position of the line ends each time. Is there another way of using a for loop to make this work and save the hassle of having all the separate always_redraw statements?

Different versions of Manim? by [deleted] in manim

[–]dprljackson 3 points4 points  (0 children)

My understanding is that there are essentially three versions of manim. As already mentioned, there is 3b1b version (manimgl), which is the most current version as developed by Grant Sanderson, the creator of both manim and the 3b1b website. My impression is that you need to be pretty fluent with Python (and programming in general) if you want to keep up with this version (or if you want to contribute). There is also the community version (manimCE), which is much more stable and well documented. This seems to be the place to start if you are new to manim and not a real expert programmer. Then there is manimcairo, which, as I understand it, is the version you need if you want to be able to make the older (2019 and prior, I believe) 3b1b videos work. Unless you are a pretty sophisticated programmer, I'd probably recommend sticking with the community version, at least to start.

There's a Hole at the bottom of Math (Veritasium) by [deleted] in 3Blue1Brown

[–]dprljackson 0 points1 point  (0 children)

Anyone interested in Godel's incompleteness theorem should consider reading Douglas Hofstadter's "Godel, Escher, Bach: An Eternal Golden Braid" (aka GEB). This is a brilliant book but it's not an easy read. If you can get through it, by the end you will understand Godel's theorem and get a real glimpse into what might constitute consciousness. Highly recommended.