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:562
04:592
05:002
05:002
05:042
05:062
05:092
05:152
05:172
05:192
05:212
05:242
05:252
05:272
05:292
05:292
05:294
05:294
05:305
05:315
05:325
05:486
05:495
05:505
05:506
05:506
05:546
05:567
05:597
05:598
06:008
06:009
06:0011
06:0011
06:0311
06:0412
06:1212
06:1312
06:1313
06:1313
06:1313
06:1414
06:1515
06:1915
06:2016
06:2117
Comentarios