Saltar al reproductorSaltar al contenido principal
  • hace 2 días
Fórmulas de física en lenguaje Latex :
a=\frac{-gR^2}{r^2}
\dfrac {v\mathrm{d} v}{\mathrm{d} x}=\frac{-gR^2}{r^2}
\int_{v_0}^{v} vdv=-gR^2\int_{R}^{\infty}\frac{1}{r^2}dx
(\frac{v^2}{2})|_{v}^{0}=-gR^2(\frac{-1}{r})|_{R}^{\infty}
Para adicionar párrafos, se usa : A1...(A3, B2...etc).next_to(...(A1, B2...etc),DOWN), las veces que sea necesario de un texto tras otro.
Para cambiar fondo de pantalla se digita: self.camera.background_color=(WHITE...RED, BLACK...etc)
➡ Descargar gratis :
https://www.mediafire.com/file/2qw1fw3e37riwww/codigo+python+manim+2.txt/file
➡ Imagen sistema rectangular en Manim para posicionar objetos :
https://www.mediafire.com/file/3goqai9quuu84qs/Rejilla+manim.png/file

Categoría

📚
Aprendizaje
Transcripción
00:12This video will explain how, using Python programming and the manim library, you can
00:18You can create text animations here I explain how to change the background color since manim by
00:23The default color is dark; you can change the background, text color, and positions.
00:30In the vector programming, we then type to import the manim library.
00:37class of name letters 1 we build the scene with self this was already explained in previous videos
00:53Now, importantly, in each text example we add the colors to their names. Okay, that's it.
01:00for changing the text color for the constant to 1 to 2 to 3 with the colors to
01:061 blue to 2 red to 3 of
01:09The black color after each comma will change to any user-defined color. Important here for...
01:26Change the background color to any video color from dark to white. In my case, we type the period.
01:31camera dot background color equal to white
01:45Now we alternate the presentations with a three-second wait and write the point playwright to 1
01:51Next, we write the dot and 3. This for 1 in 2, we write the dot playwright to 2, then
01:59We write point white 3 on a 3, then we write point playwright on a 3, then we write point white 3
02:16And how do we change the text positions within the screen? For this, we take as
02:22The grid image of Manim references the coordinate axis so we can change it by giving values ​​in x and y.
02:29z will be zero for the next exercise; the goal is for the text to be placed in any position
02:35desired we type to import the manim library followed by class of name letters 2
02:41We built the scene with Cel; this was already explained in previous videos.
02:48We write constants a 1 a 2 a 3 these will be equal to text in parentheses we write write example
02:55The colors will then go in quotation marks: in a1 it will be red, in a2 it will be yellow, in a3 it will be of
03:02color
03:02black for important positions in a 1 move point toy we declare a coordinate vector np point
03:08array minus 5 2 0 in a 2 will be yellow we write of coordinates np point array minus 2 3 0
03:16in a 3 it will be
03:29We type again to change the background color from dark to white, the camera dot dot
03:35background color equal to white
03:47Now we alternate the presentations with a three-second wait and write self dot play bright a 1
03:53Next, we write the dot boy 3, this for 1 in a 2, we write self dot play bright a 2, then
04:01We write the dot boy 3 in a 3 we write self dot play bright a 3 then we write the dot boy
04:083
04:19Once the exercises are completed, we save them and proceed to compile the exercise called letters 1.
04:25We type manín minus pql plus the file name and the letter name 1
04:563
04:572
04:593
05:094
05:104
05:152
05:26And we watched the video, the presentations are correct.
05:38We do the same, we compile the exercise called letters 2, for this we type manin-pql, this is for video quality
05:46standard, plus, the file name, and the name letters 2.
05:59And we get the video.
06:04The established positions are observed in the programming; thus, we can add more text in different places on the screen, and
06:12different colors, like changing the background color.
06:19That's all, if you found the video helpful, don't forget to subscribe.
Comentarios

Recomendada