Manim Tutorial Series E01: An Invitation to Mathematical Animations WITH EASE in Python

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 149

  • @FrazAhmad-fn2hp
    @FrazAhmad-fn2hp 7 місяців тому +17

    The way he said "and I did a PHD in that"🥶🥶🥶☠💀

  • @ChrisOffner
    @ChrisOffner 2 роки тому +48

    Wonderful introduction, thank you so much. I'll start playing around with manim, and can't wait for the next episode in this series!

    • @behackl
      @behackl  2 роки тому +8

      Thanks for the kind words - and enjoy exploring the library!
      I'll need to find some time to produce the next episode, but I should manage to upload something until end of next week or so. :-)

  • @samueleprandini1024
    @samueleprandini1024 Рік тому +5

    Very very wonderluf video. I am a really big Grant's fan and nowadays I started wondering how to work with Manim and your video gave me this felling of "having superpowers". I am amazed

  • @amirpishkoo4040
    @amirpishkoo4040 4 місяці тому +4

    Dear Benjamin thank you for your best explanation

  • @neech235
    @neech235 2 роки тому +7

    Excellent intro. Just the right balance of simplicity and detail. Thanks

  • @NamasenITN
    @NamasenITN 2 роки тому +9

    High quality tutorial format. It should definitely be part of Manim documentation, websites, etc. Thank you.

  • @DamassiTV
    @DamassiTV 2 роки тому +13

    I discovered your channel by chance. Your videos are so amazing you deserve millions of followers. I learned a lot from you. Thank you very much from Morocco ❤️🇲🇦

    • @behackl
      @behackl  2 роки тому +2

      Thank you very much for the kind words!

  • @user-tx2zb8vv4l
    @user-tx2zb8vv4l 9 місяців тому +1

    It's Cool!! I'm korean student. I don't know english.
    But I turned in the English subtitles and slowly followed this video.
    This video is much better than reading the manim community.
    Very intuitively! Thank you a lot.
    (Hey, Desmos. I don't need any more you. XD )

  • @rubempacelli6815
    @rubempacelli6815 2 роки тому +4

    I remember you! You helped me out a two years ago with manim :) I am using it again, but now for my discipline of numerical optimization. I am happy to see you are doing videos on UA-cam. Thanks for all knowledge shared!

  • @nijataliyev1470
    @nijataliyev1470 2 роки тому +9

    Thank you very much Benjamin for this. Amazingly put. Well structured, easy to grasp and clean and clear language. Loved it.

  • @Elclaapo
    @Elclaapo Рік тому +3

    Very clear! The explanation is smooth calm and effective :) Gut gemacht! Thanks a lot

  • @akshaysitlani07
    @akshaysitlani07 4 місяці тому

    Been trying to motivate myself to learn Manim for quite a few years now. Always gave up because of lack of a good resource (what is a good resource is subjective) on UA-cam. This video (and playlist) is just what I was looking for. Thanks a lot, Benjamin!

  • @danielhutchinson6158
    @danielhutchinson6158 23 дні тому

    Thank you Dr. Hackl. I am a math teacher. This is wonderful. Grateful.

  • @solusacademy
    @solusacademy 7 місяців тому

    Brilliant Benjamin! I have no experience in coding, Initially Manim looked daunting to me, then I followed your tutorial line by line and now I am confident to dive deep into it. Thanks! and keep up the good work!

  • @mohammedmhilal4129
    @mohammedmhilal4129 Рік тому +1

    Love the way you explain things. Very calm and a bit soothing.

  • @user-yooo
    @user-yooo 2 роки тому +3

    Brilliant video for a coding newbie like me thanks!

  • @BanMidouSan
    @BanMidouSan 2 роки тому +1

    Gracias. Simplemente, gracias. Hace mucho tiempo me había animado a aparender Manim pero no había tenido la disciplina y tú me has animado a seguir.
    Gracias, Doc!

  • @TheKhalidmehmood
    @TheKhalidmehmood Рік тому +1

    Benjamin, Thank you so much for this great tutorial. I am novice in Manim and found your tutorial very helpful and effective.

  • @vikrantbhadouriya
    @vikrantbhadouriya Місяць тому

    Read the documentation, and this served as both as a great explainer and revision to what I had learnt. Thanks man!

  • @lioncaptive
    @lioncaptive 10 місяців тому

    Many thanks for creating this video of Manim. It serves as a great incentive to further my knowledge of Python with purposeful means.

  • @makessense1707
    @makessense1707 2 роки тому +11

    Very easy to follow! you are great teacher ! thank you for wonderful tutorial :) looking forward for next tutorials

    • @behackl
      @behackl  2 роки тому +2

      Thank you for the kind words! :-)

  • @Yuki_Matsumoto_7
    @Yuki_Matsumoto_7 2 роки тому +4

    Thank you so much for the video. I think it was very helpful and the "Chapter divisions" are just great because if you don't have the time to watch the whole video in one sitting, you can watch it per parts. Also, I think it would be very helpful to put the Remark on Transfrom vs. ReplacementTransform in the documentation (id it's not there yet) . I also like very much the peace you explain with..

    • @behackl
      @behackl  2 роки тому +2

      Thanks for the kind words, I appreciate it! :-)

  • @joelrcha3368
    @joelrcha3368 11 місяців тому +1

    Perfect video, thank you

  • @ShadArfMohammed
    @ShadArfMohammed 2 місяці тому

    Thanks very much for this nice walkthrough video, it took me some time to set up the environment properly. But after that everything went on smoothly. I enjoyed learning it a lot.

  • @fernandofariajunior
    @fernandofariajunior Місяць тому

    This was extremely helpful, thank you for making this video!

  • @haitiancreolewithluciano
    @haitiancreolewithluciano 2 роки тому +2

    *Thank you so much, Benjamin! I interacted with you on discord today. Going through your series right now. Just amazing!*

  • @user-de1qk2en5g
    @user-de1qk2en5g 3 місяці тому

    This is the best video on manim I have seen till now. Amazing work sir.

  • @rubenrm661
    @rubenrm661 2 місяці тому

    Great explanation... Calm and straight to the point...

  • @babygoodday
    @babygoodday 2 роки тому

    I’m a beginner and not good at English. I try hard to understand what you say. Your tutorial videos are Very Helpful! Thanks a lot!

  • @ejejej9200
    @ejejej9200 2 роки тому +1

    Thank you! This is amazing! So excited to start and you make wonderful videos!

  • @muhammadusman5521
    @muhammadusman5521 2 роки тому +1

    Amazing guide.... Plzzz keep making the series

  • @ary2000
    @ary2000 Рік тому +1

    Great tutorial. Thank you so much. I'm using this to try and make better content for my mathematics class :D

  • @bba-1145
    @bba-1145 5 місяців тому

    Thank you! Fantastic introduction!

  • @bonpi5298
    @bonpi5298 2 роки тому +1

    Well done

  • @enciphered7650
    @enciphered7650 3 місяці тому

    My god. THANK YOU!

  • @7scientist
    @7scientist 3 місяці тому

    Excellent, great teacher!

  • @williammartin4416
    @williammartin4416 3 місяці тому

    Great tutorial

  • @FaiphiFai
    @FaiphiFai Рік тому

    Thanks a lot! very well structured & explained

  • @CowboyRocksteady
    @CowboyRocksteady 2 роки тому +1

    instant sub. keep up the awesome work!

  • @user-lk7ow2yi3h
    @user-lk7ow2yi3h 6 місяців тому

    정말 많이 배웠습니다. 소중한 영상 올려주셔서 감사합니다 ^^

  • @aflous
    @aflous Рік тому

    Amazing intro to Manim! Now I'll try and add it to my Data Analysis work

  • @kimselmonun5285
    @kimselmonun5285 5 місяців тому

    Absolutely cold 🥶

  • @tarkesdora20
    @tarkesdora20 Рік тому

    Thanks for the efforts in making this videos

  • @pawed.6003
    @pawed.6003 11 місяців тому

    Very useful video, thanks!

  • @williammartin4416
    @williammartin4416 3 місяці тому

    Thanks!

    • @behackl
      @behackl  3 місяці тому

      Much appreciated, thank you!

  • @math4university
    @math4university Рік тому

    Thank you. Very helpful video!!!

  • @chhayakankariya2748
    @chhayakankariya2748 2 роки тому +2

    Just one word ------> Excellent. Really nice explanation . And can yu pls zoom in whe yu write code ?

    • @behackl
      @behackl  2 роки тому

      Thank you! I think it is slightly better in the later episodes; I'll continue to try and improve it. :-)

  • @vivekmehta6756
    @vivekmehta6756 Рік тому

    Great. Thank Benjamin!

  • @marcusmors8485
    @marcusmors8485 2 роки тому +1

    Thanks for the tutorial.
    Some Feedback: make the font size bigger, please.

    • @behackl
      @behackl  2 роки тому

      Thanks for the feedback! It should be a bit better in the later episodes.

  • @nicolasmurzeau8959
    @nicolasmurzeau8959 Рік тому

    thank you for you content, this is actually good

  • @butchwarns
    @butchwarns 2 роки тому

    Fantastic, thank you.

  •  2 роки тому

    Very usefull, thank you! It really makes you want to get started :D

  • @pewpewpewpew7467
    @pewpewpewpew7467 Рік тому

    Great work Benjamin!

  • @Matematicas_David
    @Matematicas_David Рік тому

    Great Tutorial! Thanks!

  • @greedskith
    @greedskith Рік тому

    gem!

  • @callmedeno
    @callmedeno Рік тому +1

    Has anyone since come up with a better library do you think for this purpose? I'm interested in starting to use it but just wonder is if there is a software that is more 'standard' for such things?

  • @mateenraza7340
    @mateenraza7340 Рік тому

    Subscribed!

  • @dr.sausage55
    @dr.sausage55 Рік тому

    Thanks for this tutorial, after this video I can start writing some things that actually work. LoL

  • @dR-bAbAk
    @dR-bAbAk 2 роки тому

    Yes, it was extremely useful.

  • @Jdkdbxbd6272
    @Jdkdbxbd6272 Рік тому

    nice !

  • @asesoriasdemateyfisicasupe3085
    @asesoriasdemateyfisicasupe3085 2 роки тому

    see you in the next video !
    thanks

  • @porkywaters
    @porkywaters 2 роки тому

    My english is horrible, but your videos are amazing!. Thanks for your clarity. Im really studing yor content about manim. Thanks a lot!! from Mexico. Note: If you add subtitles it would help me a lot to advance faster. Thanks a lot!! again

    • @behackl
      @behackl  2 роки тому

      Thanks for the suggestion! I'll try to make adding the subtitles a more consistent part of my workflow for future videos. :-)

    • @porkywaters
      @porkywaters 2 роки тому

      @@behackl Thanks!

  • @merodeand0
    @merodeand0 Рік тому

    Excelente, muchas gracias!!

  • @HeroSanjA
    @HeroSanjA Рік тому

    For this tutorial you got me as a fan :)

  • @ajithkumarg3219
    @ajithkumarg3219 Рік тому +1

    Wowwww💗💓💓

  • @theophiluschimwanda5535
    @theophiluschimwanda5535 Рік тому

    respect

  • @_amniam
    @_amniam 8 місяців тому

    mantab bang

  • @AvinandanMondalphb
    @AvinandanMondalphb 2 роки тому +1

    It was really nice. By the way, a small query:
    I don't know much about Object Oriented Programming, but, as far as I know about classes and objects, a "class" is a template for a data type and an "object" is a concrete instance of that class. So, here we constructed the animation in a class inherited from the "Scene" class. But, then don't we have any object here, which is an instance of this class ? Or is it so that when manim runs the program, it creates an object of this class automatically ?

    • @behackl
      @behackl  2 роки тому

      You are spot on: when using the manim executable, an object of your scene class is created and its render method is called. You can do that yourself too; my_scene = MySceneClass() followed by my_scene.render(), then run the file as an ordinaty Python script.

    • @AvinandanMondalphb
      @AvinandanMondalphb 2 роки тому

      @@behackl Yes, it works. Understood. Thanks.

  • @BanMidouSan
    @BanMidouSan 2 роки тому

    Thanks a lot!

  • @obsidiansphinx
    @obsidiansphinx Рік тому +1

    Hi Around 17:50 you say "if you have VS code set up correctly" you can have hints. I'm struggling to get these working in a Jupyter notebook in VS code. Can you give me a hint on how to set it up?

  • @MisterMathIndonesia
    @MisterMathIndonesia 2 роки тому

    wow awesome video. thanks alots

  • @photogyulai
    @photogyulai 5 місяців тому

    thanks for the video. Manim is a wonderful concept. Too bad that is unsuable, with this ovecomplicated CLI config, re-render all the time, approach

  • @suvrotica
    @suvrotica 2 роки тому

    Wonderful, the coding a little hard on the eyes

  • @sansdents7559
    @sansdents7559 2 роки тому +1

    Tip: to get a normal talking speed, set the playback at 1.25

    • @behackl
      @behackl  2 роки тому +1

      Haha, it is rare that I get feedback regarding talking too slow -- but for these videos I tend to agree (I did put some effort towards speaking slowly; it's easier to watch sped up videos than slowed down ones in my opinion). :-)

  • @braineaterzombie3981
    @braineaterzombie3981 3 місяці тому

    Hey i had a question if replacementtransform works just better than transform why not completely scrape original transform and rename replacement transform to transform

    • @behackl
      @behackl  3 місяці тому

      They work exactly the same, the difference is just whether after Transform(a, b) you need to continue with a or b.

  • @rayyan21d
    @rayyan21d 2 роки тому

    Thanks for thissss

  • @Mathing
    @Mathing 2 роки тому

    I am sensing this tutorial series will be really helpful for everyone, given the fact that there are so many outdated tutorials out there. Thanks!
    Also I have a question that's bugging me for a long time. Let's suppose I want to create Circle from the 0th second till the 2th second (Total duration: 3 seconds), and I want to create Square from the 1th second till the 4th second (Total duration: 4 seconds). How to do this?

    • @behackl
      @behackl  2 роки тому +2

      Thank you -- indeed, I try to mainly talk about aspects that I think are more or less stable and futureproof. :-)
      As for your question, getting something like this to work is a bit tricky. The best way I can think of right now is by creating an AnimationGroup consisting of the two animations, and then editing the anims_with_timings attribute manually to get the desired timeline. It would be nice to have an example for actually doing that somewhere, I agree.

  • @MathTopicsByDr.Marrero
    @MathTopicsByDr.Marrero Рік тому

    thank you!!!

  • @pajmali5540
    @pajmali5540 5 місяців тому

    Eres "La Leche" Camarada

  • @Rapha_Carpio
    @Rapha_Carpio 6 місяців тому

    I want this guy to be my friend

  • @AangContreras
    @AangContreras 2 роки тому

    Thank you! Btw, it would be great if you do some videos of Reveal js

    • @behackl
      @behackl  2 роки тому

      Hey! Thanks for the suggestion -- I haven't used Reveal.js a lot (yet) though, so I'm not sure that I would be able to share anything particularly interesting about it. Maybe at some point in the future. :-)

  • @lucagirelli5223
    @lucagirelli5223 2 роки тому

    great Video! Subbed :)

  • @TheActurialRepository
    @TheActurialRepository 2 роки тому +1

    Thank you for the video! what would the code bo to run on the command line if I wanted to run multiple classes?. For instance, taking your video as an example: how would I run the class "SecondExample" and then the class "SqaureToCircle"

    • @behackl
      @behackl  2 роки тому +1

      You should be able to run, for example,
      manim -qm -p your_file.py SecondExample SquareToCircle
      but if not, you can just call
      manim -qm -p your_file.py
      to get to a menu where you can select which scenes to render.

    • @TheActurialRepository
      @TheActurialRepository 2 роки тому

      @@behackl Lovely, so after I type "manim -pqm your_file.py" I just keep typing the classes I want to render in order. Thank you very much!

    • @TheActurialRepository
      @TheActurialRepository 2 роки тому

      @@behackl Sorry to bother, but when I do that it plays like only one second of "SecondExample" and then the full video of SquareToCircle. Any other commands to run multiple classes?

    • @behackl
      @behackl  2 роки тому +1

      What exactly do you mean with "play"? The preview that opens after rendering? Separate scenes produce separate video files, and the CLI simply opens the system's preferred video player as soon as the video is done rendering. The CLI does not support merging the two videos into one.

    • @TheActurialRepository
      @TheActurialRepository 2 роки тому

      @@behackl Ohh, that is why then. How would you merge two videos into one? Do you use a video editor? Or is there a way to merge two videos into one with the command line? Since I find really annoying to writte all the code in only one class in order for the video to be a continuous thing

  • @aidange8863
    @aidange8863 2 роки тому

    Question: what is the Python interpreter that you used, that gives you all the data about shapes and whatnot? Like the one displayed at 17:41.

    • @behackl
      @behackl  2 роки тому

      VS Code (and pretty much any other IDE) will do that once you set the Python interpreter of the IDE to the one Manim has been installed to.

  • @prashantsharma-mc6hh
    @prashantsharma-mc6hh 2 роки тому

    Nice video. Can you please tell how did you set this background? Any specific video editor?

    • @behackl
      @behackl  2 роки тому

      You mean in the intro? Yeah, I have a green screen behind me and used a video editor; in this case DaVinci Resolve.

    • @prashantsharma-mc6hh
      @prashantsharma-mc6hh 2 роки тому

      @@behackl Thank you. I too make basic math videos using manim. I am beginner in manim and trying to learn its advanced tool. In case you are interested to visit my channel, here's the link: ua-cam.com/channels/K-7n_oyFQhL1ZrmT_e5ojQ.html

  • @glokta1
    @glokta1 2 роки тому +1

    Hey, what did you use to make the slides?

    • @behackl
      @behackl  2 роки тому +1

      Hey! I used reveal.js ( revealjs.com ); in case you'd like to take a look at my slides directly, they are deployed here: behackl.github.io/manim-with-ease/slides/e01.html -- and you can find the sources here: github.com/behackl/manim-with-ease

  • @ZardoDhieldor
    @ZardoDhieldor 2 роки тому

    I installed manim locally via pip3 and I can import it in Python without error. However, trying to execute the manim command in the command line yields "command not found". Can someone help me fix this? How do I render my programm?

    • @behackl
      @behackl  2 роки тому +2

      Check out this answer in our FAQ: docs.manim.community/en/latest/faq/installation.html#i-am-using-windows-and-get-the-error-x-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file -- seems like a path issue, and actually pip should have emitted some warnings about it as well. If you can run Python, try prefixing your commands with "python -m".

    • @ZardoDhieldor
      @ZardoDhieldor 2 роки тому +1

      @@behackl Thank you for the quick answer! Using "python -m manim" instead works perfectly fine! Now I can start experimenting!

  • @T.AhdNamer
    @T.AhdNamer 2 роки тому

    Hi !
    I dont know anything about python, can I Learn how to use manim anyway?
    or I should know somethings about python ?
    please help : )

    • @behackl
      @behackl  2 роки тому

      Hey! Manim can be a good motivator to learn Python, maybe take a look at try.manim.community -- depending on how well you can follow the content there, or the examples I go through in my tutorial series, it might work fine. However, I'd still recommend properly learning Python; you will have a bad time in the long run otherwise. :-)

  • @mustafakilany6277
    @mustafakilany6277 2 роки тому

    I've set up manim completely yet the auto completion or the definition of arguments still does not appear how can i do so?

    • @behackl
      @behackl  2 роки тому +1

      Hello! Are you using VS Code? If so, did you make sure that the active Python interpreter is set to whichever version you have installed Manim to? (When using the Python extension, there should be a field in the blue status bar at the bottom of the program that displays which interpreter is currently used.)
      Otherwise, I'd recommend to ask for help in Manim's Discord or so, UA-cam comments is not the easiest channel to get support over. :-)

    • @mustafakilany6277
      @mustafakilany6277 2 роки тому

      ​@@behackl . I am using 3.9.9 , and I do not know how to check weather the interrupter is using the same version as Manim;and how can I make the Python interpreter be the same as the version which the Manim does use if they are not compatible?
      Thank you ☺

  •  Рік тому

    Muito bom

  • @kruvik
    @kruvik 2 роки тому

    Thanks for the video! Don't want to be weird, but is it possible to have the future videos with a dark background? Watching this at night burns my eyeballs out...
    Still looking forward for this series!

    • @behackl
      @behackl  2 роки тому

      Haha, good thing I didn't use the light background from the last 30sec throughout the video - not sure I want to go much darker than the green I already have in the intro, but I'll keep it in mind! :-)

    • @kruvik
      @kruvik 2 роки тому

      @@behackl The green in your background and the color scheme of VScode is fine! Just the "presentation" parts I find hard to watch :P

    • @behackl
      @behackl  2 роки тому

      Ahh, yes! I actually forgot about my presentation theme. 😅 I completely understand - thanks for the feedback!

    • @kruvik
      @kruvik 2 роки тому

      @@behackl lol, sure, no problem!

  • @sivuyilesifuba
    @sivuyilesifuba Рік тому

  • @chenwr4755
    @chenwr4755 6 місяців тому

    There are too many unneeded and repeated functions or methods in the engine, which makes it confusing for starters

    • @behackl
      @behackl  6 місяців тому

      we're always open for discussing how things can be streamlined and made less confusing -- the best place to drop some feedback is the dev channel in our discord at manim.community/discord :-)

  • @MagnusAnand
    @MagnusAnand 2 роки тому

    It would be better to add the word “MANIM” in the title. It helps for the searching

    • @behackl
      @behackl  2 роки тому +2

      Excellent point, thanks for the feedback! I have slightly adapted the titles. :-)

    • @MagnusAnand
      @MagnusAnand 2 роки тому

      @@behackl great!

  • @richardmacken1157
    @richardmacken1157 2 роки тому

    Will you be doing more videos in English? It would be very appreciated.

    • @behackl
      @behackl  2 роки тому

      Sure, all videos in this series about Manim will certainly be in English. :-)

  • @thomassouza5853
    @thomassouza5853 2 роки тому

    Ep2 , when?

    • @behackl
      @behackl  2 роки тому +1

      It should be up within the next 12h or so.

    • @thomassouza5853
      @thomassouza5853 2 роки тому +1

      @@behackl as count dooku said: i have being looking forward for this

    • @behackl
      @behackl  2 роки тому +1

      @@thomassouza5853 ua-cam.com/video/1Fv0Nu-Tb7Q/v-deo.html :-)

    • @thomassouza5853
      @thomassouza5853 2 роки тому +2

      @@behackl this is where the fun begins

  • @Autistaar
    @Autistaar 2 роки тому

    Subtitles please!.

    • @behackl
      @behackl  2 роки тому +1

      Had that on my TODO list for a while, at least this first episode now has subtitles. I'll continue working on the other episodes too. Thanks for the feedback! 👍

  • @twobits7310
    @twobits7310 2 роки тому

    How to grow the number line and add range onto it later in Manim, i don't want to recreate the number line, i want to add numbers onto it and grow it as number added. I tried num_line.x_range=([0,6,1]) num_line.set_length(10) but it didn't work.
    Here is my code:
    from manim import *
    class NumLine(Scene):
    def construct(self):
    num_line = NumberLine(x_range=[1, 6,1], length=5, font_size=26, include_numbers=True, include_tip=True, )
    self.play(DrawBorderThenFill(num_line))
    self.wait()
    # grow number line and add zero self.wait()
    # again grow number line and add negative numbers
    self.wait()

    • @behackl
      @behackl  2 роки тому +1

      UA-cam comments are not a great place to discuss this, please take a look at docs.manim.community/en/latest/faq/help.html for instructions where you can get help with more complex queries! :-)

  • @dR-bAbAk
    @dR-bAbAk Рік тому

    Thanks!

    • @behackl
      @behackl  Рік тому

      Thank you, much appreciated! :-)