본문 바로가기

Programming

(165)
01장. 시작해봅시다. 이번 장에서는 코딩을 할 수 있는 준비를 하는 과정입니다. 간단한 맛보기 프로그램도 짜 볼 겁니다. 01장 목차 01-1 프로그램 설치하기(파이썬, 파이참) 01-2 파이참 실행해서 기본 기능 익히기 다음글: 01-1 프로그램 설치하기(파이썬, 파이참) 목차로 이동: [목차]CxO를 위한 코딩 강좌(파이썬을 중심으로)
[목차]CxO를 위한 코딩 강좌(파이썬을 중심으로) 신기술일수록 회사에서 결정권을 가진 사람이 알고 있어야 그 기술를 제대로 도입하고 성공 가능성이 높은 것은 당연한 것일겁니다. 이 책은 기업의 핵심 결정권을 가지고 있는, 그러나 컴퓨터 코딩에는 손도 못대본 문과 출신 CxO를 가정하고, AI관련해서 가장 핵심이 되는 내용을 최단 코스로 파악할 수 있도록 구성할 것입니다. 사용 언어: 파이썬 중심 내용: Data-driven AI Table of Contents 01장. 시작해봅시다. 01-1 프로그램 설치하기(파이썬, 파이참) 01-2 파이참 실행해서 기본 기능 익히기 02장. 파이썬 기본 - 출력/계산하기 02-1. 출력하기 02-2. 계산하기(산수) 03장. 기본 문법 익히기 03-1 반복작업 시키기(for) 03-2 함수 만들기 03-3 if 구문..
[99] Table of Contents [01]Introduction to Manim [02]Building a development environment [02-1]Basic environment configuration and required library installation [02-2]Download and Install the Manim package [02-3]Using the Manim in the new directory [02-4]Multilingual setting in LaText [03]Hello Manim [03-1] Create "Hello Manim" (notepad++) [03-2] Create "Hello Manim" (PyCham) [03-3] Explain about "Hello Manim" code [03..
[06-3-C] Use Updating Class In the previous page, we looked at an animation technique that updates objects every frame using add_updater or always_redraw. These methods, Create some update_func that transforms tgt_mob. Regist update_func in the list of updaters functions of tgt_mob object. --> 'tgt_mob.add_updater(update_func)' or 'tgt_mob = always_redraw(update_func)' Play base_mob or ValueTracker, which will be base obje..
[06-3-B] Use always_redraw What we covered on the previous page was to use add_updater to specify a function to be executed for each frame, and to change the state value (position, color, etc.) of the object in this function. This allowed animations such as digital clocks to increase in number or to move along an elliptic curve. This time, we will use the new method of drawing the object itself, not the state value of the..
[06-3-A] Use add_updater The Mobject class has an add_updater method, which allows you to specify a function that will be executed whenever the object changes the video frame. manilib.mobject.mobject.Mobject.add_updater(self, update_function, index=None, call_updater=True) The add_updater function adds 'update_function' to 'updaters', a list of functions in charge of each frame of an object. If the index number is speci..
[06-3] Animation by Object Updating One of the best features of Manim animation is to control and animate the changes of objects in each scene. It's all about applying this technique to keep the object's color changing, move its position, change the number continuously like a digital timer, and let the tangent move along the line of the graph. The basic principle is to create a function that changes the properties (color, position..
[06-2] Animation by Object's Method We can animate the methods of the Mobject as it is. self.play(mob.to_edge, RIGHT) Most of the animation methods we saw earlier were by animation classes. In this animation class, it creates an animation by making the image of a different shape for each frame for the target object. Therefore, because the method of Mobject changes the shape of an object for each frame, it is the same principle to ..
[06-1-I] Animation : Special Effect Broadcast class object > Animation > AnimationGroup > LaggedStart > Broadcast manimlib.animation.specialized.Broadcast(self, focal_point, **kwargs) At one point, concentric circles spread out in all directions. CONFIG = { "small_radius": 0.0, "big_radius": 5, "n_circles": 5, "start_stroke_width": 8, "color": WHITE, "remover": True, "lag_ratio": 0.2, "run_time": 3, "remover": True, } Parameters: ..
[06-1-H] Animation : Grouping Animations can be grouped and handled. When grouped, whether to run each animation together or one by one is determined by lag_ratio. lag_ratio = 0 : Run together (simultaneously) lag_ratio = 1: The previous animation is finished and the next animation is executed 0 < lag_ratio < 1: Wait amount of the ratio, then run the next animation The most basic class is AnimationGroup class, Succession is ..