Physics Simulations With Python and PyMunk

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

ความคิดเห็น • 97

  • @leonardsmith9870
    @leonardsmith9870 2 ปีที่แล้ว +89

    Can I use this to simulate my parents being proud of me?

  • @philosopherPsy
    @philosopherPsy ปีที่แล้ว

    The teacher's lectures are much more efficient and easier to understand than I( a beginner) read a whole book to study.
    Additionally, I checked by entering the code while watching the video.
    This is already the third time and has been done so cleanly without any errors. I followed along while watching your video about the solar system and Jupiter(Planet_Simulation with gravity effect) a few days ago.
    You inspire me really!
    Thank you for the great lecture!!

  • @matiwan3
    @matiwan3 2 ปีที่แล้ว +9

    You are absolutely amazing with this wide math pyhysics and programming knowledge. This aspects bringed together makes you fantastic programme. Thanks Tim

  • @ishaandugar7896
    @ishaandugar7896 2 ปีที่แล้ว +7

    Tim, take this up as a challenge and perform fluid simulation using python!

  • @Biokompott
    @Biokompott ปีที่แล้ว +1

    Thanks a lot! Really helpful tutorial!
    By the way: If somebody else run into "ValueError: cannot convert float NaN to integer" - I forgot to add mass to the structure. It seems you HAVE to set a mass here.

  • @salarshahryari4843
    @salarshahryari4843 2 ปีที่แล้ว +4

    I really enjoy these physics simulations... please do more... thanks

  • @kitgary
    @kitgary 2 ปีที่แล้ว +1

    This guy is absolutely a genius! I wish I had his skills at his age!

  • @mentefria98
    @mentefria98 2 ปีที่แล้ว +7

    I wish I had this video when I was studying physics at college

  • @dede-kw1jm
    @dede-kw1jm 2 ปีที่แล้ว +2

    It's a rare experience to watch such clear thinking. I also debugged the same problems as you before watching how you fixed them. Major difference in time but I'm happy I found the errors. Feeling very inspired, thanks Tim!

  • @nicknguyen77
    @nicknguyen77 4 หลายเดือนก่อน

    This pymunk simulation is cool. Please do more.
    I'd like to learn enough to create an object that has mutiple connected points with an attached stylus that uses a fourier mathematical superposition formula (comple x plane) to draw a wave in normal space.

  • @shambles9043
    @shambles9043 2 ปีที่แล้ว +1

    I'd love simulations that help visualize electromagnetism concepts! Things like electric/magnetic fields, propagating waves, solenoids, etc. Having simulations that can greatly help in visualizing these concepts!

  • @eta9605
    @eta9605 2 ปีที่แล้ว +4

    A video about creating a Lap Time Simulator (for a race car in a given circuit) in python would be interesting. These physics videos are cool.

  • @hirobumi6433
    @hirobumi6433 2 ปีที่แล้ว

    Excellent tutorial! But I think we can skip the angle and distance calculation and just write :
    force_x = (press_pos1[0] - press_pos2[0]) * 100
    force_y = (press_pos1[1] - press_pos2[1]) * 100

  • @davidleaskhome
    @davidleaskhome ปีที่แล้ว

    This video answered so many questions for me..thank you! There is not a lot of details on Pymunk (that are incomprehensible like the pymunk site) so more examples in a video would be fantastic. I am trying to build a pinball game from an image of a classic pinball game - that would demonstrate a lot of pymunk uses.

  • @futurism010
    @futurism010 2 ปีที่แล้ว +3

    Your videos are always TRUE! Love all contents you made...

  • @Betabdullah
    @Betabdullah 2 ปีที่แล้ว +3

    Thanks for your videos

  • @moleexr639
    @moleexr639 8 หลายเดือนก่อน

    DId PyMunk can do destory ground effect, like a ball hit ground, the ground make a hole

  • @mastershooter64
    @mastershooter64 2 ปีที่แล้ว +17

    i remember watching a pygame tutorial by tim, that's when i had the idea to make my own physics engine lol it was super fun, i haven't finished it yet, i just halted it

    • @kklol07
      @kklol07 2 ปีที่แล้ว

      wow, where;s your project now

    • @CAIJAyt
      @CAIJAyt 2 หลายเดือนก่อน

      We need to know!

  • @ANNGUYEN-cw7lw
    @ANNGUYEN-cw7lw ปีที่แล้ว

    Hello instructor, I have a question to ask you are: I don't have good logic, I learn math is about just C, Can I become software developer without not good logic ?. Question 2: Can I get a software developer position in enterprise with an associate degree not bachelor degree at USA?

  • @excelwithmark
    @excelwithmark 2 ปีที่แล้ว

    This looks a great library. I thought when you rotated the camera everything would tip out

  • @devangkhatri4772
    @devangkhatri4772 2 ปีที่แล้ว +3

    hello tim. so i did everything till 21:39 and when i ran the program , it crashed with the error "TypeError: 'Vec2d ;' object is not callable.
    i then tried to fix it in a few ways , changing names of the fnctions and then trying different values in the function and its still not fixed. I tried to look up on google too to try to see the documentation and understand whats going on but still had no idea. could you please help me fix it?

  • @Marcelo-yp9uz
    @Marcelo-yp9uz 2 ปีที่แล้ว

    Great as always

  • @chanmeida1726
    @chanmeida1726 2 ปีที่แล้ว +1

    @Tech With Tim

    Thanks for this video. Can you show us how to make the flipper game too?

  • @moleexr639
    @moleexr639 8 หลายเดือนก่อน

    thansk Tim!

  • @GordonFreeman69
    @GordonFreeman69 ปีที่แล้ว

    Nice, that was fun!

  • @batista98854
    @batista98854 2 ปีที่แล้ว +1

    Thank you from India.

  • @learnwithkhensani24
    @learnwithkhensani24 2 ปีที่แล้ว

    Great video Tim

  • @palantea1367
    @palantea1367 2 ปีที่แล้ว

    28:56 you mean, you need conservation of momentum, not elasticity in order for the ball to "bounce".

  • @timeWaster76
    @timeWaster76 9 หลายเดือนก่อน

    Brilliant !

  • @matus1976
    @matus1976 2 ปีที่แล้ว +3

    'The ball shoots the the wall when the velocity is too high because the frame update hasn't checked for the collision before the ball moves past the wall' ... Dang that sounds suspiciously alot like quantum tunneling lol.

    • @CAIJAyt
      @CAIJAyt 2 หลายเดือนก่อน +1

      Flash, take notes

  • @vmartme
    @vmartme ปีที่แล้ว

    Thank you so much!

  • @klimentradoev7404
    @klimentradoev7404 ปีที่แล้ว +1

    Amazing! I was just wondering if Pymunk / Pygame have any ability to deform an object under the exertion of a force / gravity? Would you make a video for this case?

  • @ωξΤ
    @ωξΤ 2 ปีที่แล้ว

    finally a nice video

  • @envy_coppr2146
    @envy_coppr2146 ปีที่แล้ว

    Great video Tim! I was just wondering, how do you get the orange overlay on your pygame window instead of white?

  • @mihajlomilovanovic003
    @mihajlomilovanovic003 2 ปีที่แล้ว

    What do you think about programming language Pascal?

  • @educateyourselfdaily3196
    @educateyourselfdaily3196 2 ปีที่แล้ว

    Very updated Video 📸

  • @kartikchauhan2778
    @kartikchauhan2778 2 ปีที่แล้ว +1

    Hello Tim, can you please make a ds algo series in python

  • @dynamics9000
    @dynamics9000 2 ปีที่แล้ว +9

    a worth watching channel, very inspiring and thanks for sharing wonderful videos. Subbed and liked ! a fellow creator

  • @educateyourselfdaily3196
    @educateyourselfdaily3196 2 ปีที่แล้ว

    Hey Tim 👍❤️ highly expressed

  • @ssholum
    @ssholum 2 ปีที่แล้ว

    35:00 I've seen enough Super Mario 64 speedrun videos to know where this is going.

  • @CCapsule
    @CCapsule 2 ปีที่แล้ว

    Is this something I can put on my resume?

  • @pravachanpatra4012
    @pravachanpatra4012 2 ปีที่แล้ว +3

    Tim can you make DJANGO tutorials

    • @hypermeero4782
      @hypermeero4782 2 ปีที่แล้ว

      He already did before

    • @pravachanpatra4012
      @pravachanpatra4012 2 ปีที่แล้ว

      @@hypermeero4782 nah I’m talking about more Django apps, like a social media clone, chat application etc

  • @GoodLife-ru8di
    @GoodLife-ru8di 2 ปีที่แล้ว

    34:41 That's escape velocity lolz

  • @mml.01
    @mml.01 2 ปีที่แล้ว +2

    Wow that's very useful I was worried about how to make this simulation and test an AI creature in it

  • @kevinflanigan8653
    @kevinflanigan8653 2 ปีที่แล้ว

    Fun!

  • @krishgaikwad6108
    @krishgaikwad6108 2 ปีที่แล้ว

    Cool, can u make a video about making a game using both pygame and pymunk

  • @4B3K_
    @4B3K_ 2 ปีที่แล้ว

    Hi, nice video! I have a question, is there a way to add the rope when mouse down and when mouse up it's removed? I have tried to do it but it doesn't work...

  • @batman---
    @batman--- 2 ปีที่แล้ว

    should i download pycharm?

  • @dianacampbell6336
    @dianacampbell6336 2 ปีที่แล้ว

    What is the purpose of separately importing "pymunk.pygame_util" when "pymunk" is already imported?

  • @TheEnderOcelot
    @TheEnderOcelot ปีที่แล้ว +1

    21:35 'Circle' object has no attribute 'add' line 22 why???

  • @tanmaypatel4152
    @tanmaypatel4152 2 ปีที่แล้ว +2

    'THIS TUTORIAL IS NOT FOR BEGINNERS' *Proceeds to explain what a break statement is...*

  • @smallears1234
    @smallears1234 ปีที่แล้ว

    Can this be used to create a model rocket simulator?

  • @ycombinator765
    @ycombinator765 ปีที่แล้ว

    I love Python more now

  • @krystacassidy5684
    @krystacassidy5684 2 ปีที่แล้ว

    So cool

  • @EricGonzalez-z6y
    @EricGonzalez-z6y หลายเดือนก่อน

    Blaze Mission

  • @LakendraRiverman-p9p
    @LakendraRiverman-p9p หลายเดือนก่อน

    Farrell Light

  • @EW-mb1ih
    @EW-mb1ih 2 ปีที่แล้ว

    does it work in 3D space?

  • @krishgaikwad6108
    @krishgaikwad6108 2 ปีที่แล้ว +1

    More pymunk plssss

  • @DevineDarkness
    @DevineDarkness 2 ปีที่แล้ว

    I get errors related to pylance. how do I resolve this?

  • @pranavsagar1886
    @pranavsagar1886 2 ปีที่แล้ว

    Hey Tim. I purchased your Programming Expert yesterday and the website is not loading properly. I have tried everything. Deleting the cookies and tried to open it in an incognito window. But the Programming expert website is down for no reason. But the Algo Expert Website is working fine. Kindly check about the issue.

    • @bareMinimumExample
      @bareMinimumExample 2 ปีที่แล้ว

      Ive also purchased and its working fine for me. Tried just now. Both on pc and on android. I use chrome. I really like the course also, it was beyond expectation

    • @TechWithTim
      @TechWithTim  2 ปีที่แล้ว

      Can u try on a different device? I don’t see any issue on my end as well. Please ensure you clear the cache (not just the cookies) and then reloading the website.

  • @batman---
    @batman--- 2 ปีที่แล้ว

    what are you coding this on I've tried python IDEL and it didn't work

  • @akrzha
    @akrzha 2 ปีที่แล้ว

    I like writing code in sublime text, but don't know how to run/give input. Please tell me how to do that.

    • @TechWithTim
      @TechWithTim  2 ปีที่แล้ว

      You can’t in sublime

    • @akrzha
      @akrzha 2 ปีที่แล้ว

      @@TechWithTim Then how are you running it in your's?

    • @krishgaikwad6108
      @krishgaikwad6108 2 ปีที่แล้ว

      @@akrzha run code in Command line by giving the file name OR Look in the Tools menu for Build System and Build.

  • @prakhardave.10
    @prakhardave.10 2 ปีที่แล้ว

    can you provide full code?

  • @RodneyMeyer-y7t
    @RodneyMeyer-y7t หลายเดือนก่อน

    Monahan Greens

  • @mixshots1801
    @mixshots1801 2 ปีที่แล้ว

    bro please make a video on automating whatsapp messages using python or any language

  • @davidsafro127
    @davidsafro127 2 ปีที่แล้ว +2

    nice

  • @MadgeMerle-x5l
    @MadgeMerle-x5l หลายเดือนก่อน

    Reilly Valley

  • @cayman_islands
    @cayman_islands 2 หลายเดือนก่อน

    where souce code?

  • @teamtubetv1465
    @teamtubetv1465 2 ปีที่แล้ว

    37:32 watch the webcam its kinda sus

  • @RalphGordon-k4b
    @RalphGordon-k4b 2 หลายเดือนก่อน

    Vilma Locks

  • @vinayakram5133
    @vinayakram5133 2 ปีที่แล้ว +2

    Can u make numpy tutorial

  • @marketalpha5426
    @marketalpha5426 2 ปีที่แล้ว

    Breh... rolling balls kek

  • @SheilaConners-e7r
    @SheilaConners-e7r หลายเดือนก่อน

    Evangeline Villages

  • @rishavmitra5732
    @rishavmitra5732 2 ปีที่แล้ว

    Tim: does physics simulation
    Also Tim: doesn't know how to spell pendulum 😅

  • @clusterdriven
    @clusterdriven 2 ปีที่แล้ว

    beware long functions

  • @coolguy7160
    @coolguy7160 2 ปีที่แล้ว

    Fourth!

  • @shanno88
    @shanno88 2 ปีที่แล้ว

    dude,code available?

  • @letsbuildit7640
    @letsbuildit7640 ปีที่แล้ว

    i am noob in pygame 0-0

  • @HartePayne-y1j
    @HartePayne-y1j 2 หลายเดือนก่อน

    Franecki Union

  • @serbxn
    @serbxn 3 หลายเดือนก่อน

    God bless chatgpt