Programming (165) 썸네일형 리스트형 [03-2] Create "Hello Manim" (PyCham) It's possible to use Notepad++ to make your code for Manim animation but I recommend you use PyCham as a code editor. The advantages of PyCham comapred to notepad++ are, Excellent automatic-code-completion (automatically recommends the remaining charactes when typing only a part of variable or method name) Go to the definition functionality by 'Ctrl-B' short-key When you want to use a function o.. [03-1] Create "Hello Manim" (notepad++) Let's make a video that displays the text 'Hello Manim' on the screen with notepad++ program and run the code using Command Prompt in Windows. You can also use notepad, not notepad ++, or a common text editor like Ultraedit. I recommend using PyCham as a development environment, but there is no problem in making a video using Manim even using general text editor such as notepad++. If you want to.. [03]Hello Manim The first thing to do when learning a programming language is to print a simple string like “Hello World”. Here again, we will make a video that prints "Hello Manim" string on the screen. This way, you'll get a rough idea of how you created the video. I use PyCham program when writing Python and Manim code. I've also used notepad++ and Visual Studio, but PyCham was the easiest and most effective.. [02-4]Multilingual setting in LaText Korean character Append '\usepackage{kotex}' in the manimlib/tex_template.tex file. Chinese character Chinese character package is already included in the manimlib/template.tex file as below. If you couldn't display Chinese character, check whether the 'ctex' package is in the template.tex file. And edit configuration in 'constants.py' TEX_USE_CTEX = True # Support Chinese The above Chinese char.. python의 for 루프 설명하기 파이썬의 for 루프를 설명하기 위한 애니메이션입니다. 설명하기 위한 for 루프를 사용한 파이썬 코드는 1에서 100까지 합을 구한는 코드 sum = 0 for i in range(1,101,1): sum = sum + i 애니메이션의 핵심은, 변수 i와 sum의 값이 for 루프를 돌면서 어떻게 변하는 지를 잘 보여주는 것. 이를 위해서 i값과 sum값이 차례로 위 쪽으로 이동하면서 변하는 객체를 만들어서 처리해야겠습니다. 사다리 모양이어서 객체 이름은 VarLadder로. `변수를 처리하는 사다리` 정도의 의미 .^^ 작성된 VarLadder 클래스에 대한 코드는 아래와 같습니다. class VarLadder(VGroup): CONFIG = { "rect_cnt": 3, "decimal_scale".. [02-3]Using the Manim in the new directory If you want to make a movie using Manim in a directory other than the 'C:/dev/manim' directory installed in the previous chapter, you can do the following. The reason why you want to use a different folder is, you may need to modify the Manim library code by yourself when making a video, so leave the original library at 'C:/dev/manim', and you can edit the library in another directory. 1. Create.. [02-2]Download and Install the Manim package Install Manim package 1. Download Manim package from here: https://github.com/3b1b/manim 3b1b/manim Animation engine for explanatory math videos. Contribute to 3b1b/manim development by creating an account on GitHub. github.com 2. unzip downloaded zip file into the directory you want to use. Manim library dosen't need to install it but only unzip the package is enough to use it. Let's suppose yo.. [02-1]Basic environment configuration and required library installation Manim can be installed not only on Windows, but also on Linux and Mac, but here we will introduce the installation method only when using Windows10. Basic Environment for this lecture OS: Windows 10 (or Windows 7) Python: Python 3 (If you're not installed Python in your PC, please visit Python site and intall it) I'm using Python 3.7.7 but the latest version is 3.8.3 now (2020.5.31). It's possib.. [02]Building a development environment To use Mimim, you need to install some required libraries and Mimim package. Since the file to be downloaded is a bit large (especially Miktex, a library for inputting formulas), the entire download and installation will take about 30 minutes to an hour. [02-1]Basic environment configuration and required library installation [02-2]Download and Install the Manim package [02-3]Using the Manim in t.. [01]Introduction to Manim Manim is a Python library that allows you to create graphs and animations used in math and science that are difficult to produce with ordinary video production tools. The famous Math YouTube channel 3Blue1Brown is making all the animations with this `Manim` library. You can definitely see what you can do with Manim and see what's amazing about it by watching the video below explaining the Fourie.. 이전 1 ··· 8 9 10 11 12 13 14 ··· 17 다음