Simulating physics in Python

preview_player
Показать описание
This tutorial is about simulating physics in python with the pymunk module; and to visualise the results pygame will be used. The specific project we will make is going to be a simple 2D simulation of apples falling down.
Рекомендации по теме
Комментарии
Автор

Clear Code is a underrated channel that only lucky people can find, and he's really know how to teach and make people understanding problem step bt step.

namdao
Автор

OMG, smooth, you actually explain, underatted!!! You deserve more, i did not even know pymunk existed!

darkknightanimation
Автор

This is fantastic.
Physics simulation made easy on python.
I spent ages doing this on Matlab and one afternoon on this.
Thanks for the lesson

mathsplug
Автор

Pymunk? Holy... I always create the whole energy, speed, momentum, gravity logic into pygame to make my balls run. Im glad theres a library for it. I havent done it before, but doing balls colliding with rects and calculating the rotational and regular speeds and reactions would be hell.

GuilhermeDiGiorgi
Автор

This is the only pygame tutorial that makes use of pymunk...
I didn't even know it existed.


Awesome tutorial, you deserve more subscribers.

umanglunia
Автор

Just found your channel, brilliant tutorials.
I hope (and think) u channel grows fast :)
Much love from Germany!!!

malterothkamm
Автор

This is amazing, never knew this library existed. I'm never making my own physics again, thanks.

kefrov
Автор

Man you did an excellent work your channel is no one in YouTube 👌👌👌🤘

scubing
Автор

You are the best tutor I have ever seen

roocode
Автор

pos_x = int(ball.body.position.x)
ValueError: cannot convert float NaN to integer
>>>
if you faced this error, a quick fix is to pass two integers as arguments to
body = pymunk.Body(1, 1, pymunk.Body.STATIC)
in the function definition for static_ball().
great tutorial, thanks a lot!

suyashmisra
Автор

Bro how can you only 430 subs, You deserve moreee!!!

muradpetrosyan
Автор

This video is really helpful thanks for sharing your knowledge with us 🙂

vilasd.chawan
Автор

I'm just starting out as a programmer and you should have a lot more subs then you have now :)

midnightdev
Автор

At 20:25 I don't know if it's newer versions of the modules, but I had to use a == or it was failing.

marcoshaw
Автор

Thank you it works sir! I'll use it for my presentation

davinaazizah
Автор

This video very helpfull, I really like this video

ChannelMovies
Автор

you are amazing!!! keep doing good stuff

jasonwalon
Автор

Great video! Though my code won't run with me constantly moving my mouse, otherwise it will pause until I move it again, what's going on here?

CPlusPy
Автор

My kingdom for a portable version of Python with GUI editor and Pygame all connected. I’d use it with all 100+ of my game design students

sjacobson
Автор

thank's that video was very helpful

ademromdhane