Greetings,

I so love SymPy! I had the idea of creating a simple physics engine using 
symbolic math rather than numerical methods. Using SymPy, I got it working. It 
is 2D with circles, infinite walls, and elastic collisions.

On the downside, after too many events, the expressions can get too long, so 
it's not really practical.
On the upside, I was able to see if, for example, a billiards break is really 
deterministic (no!) and reversible (not really).

I'm writing up my experience in a series of free Towards Data Science articles:
- Part 1: High-level engine applied to tennis ball and basketball drop 
https://towardsdatascience.com/perfect-infinite-precision-game-physics-in-python-part-2-360cc445a197
- Part 2: What a billiards break tells us about philosophy 
https://towardsdatascience.com/perfect-infinite-precision-game-physics-in-python-part-2-360cc445a197
- Part 3: Creating the low-level engine using SymPy, including setting up the 
physics equations (some are tricky) and getting SymPy to do the rest of the 
work. 
https://medium.com/towards-data-science/perfect-infinite-precision-game-physics-in-python-part-3-9ea9043e3969
- Part 4, how to speed up the engine a bit (but not enough) and limitations 
(not yet published).

All the code is on GitHub https://github.com/CarlKCarlK/perfect-physics

If you have ideas for simulations that you'd like me to run, please send them 
to me. They may become the basis of a part 5.

Thank you SymPy for making this possible.

- Carl
https://medium.com/@carlmkadie



-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Oscar 
Benjamin
Sent: Monday, November 28, 2022 6:52 AM
To: [email protected]
Subject: Re: [sympy] Physics related projects

On Sat, 26 Nov 2022 at 10:11, Vaani Pathariya <[email protected]> wrote:
>
> Hello everyone !
> I started working with sympy a few months back and I really love the work the 
> organisation is doing .My indent is towards Physics related topics and have 
> even contributed to solve things related to physics units .I am even working 
> on a documentation in one one such topic .I wanted to ask if their are any 
> projects the organisation is thinking of implementing in physics domain that 
> can become a part of the GSOC contribution 2023 .If so please enlighten me so 
> that I can explore it and work on it .
> Looking forward for your reply.
> Thank you !!

Hi Vaani,

"Physics" is a very broad topic so you should be more specific. You can see 
past project ideas here:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsympy%2Fsympy%2Fwiki%2FGSoC-Ideas&amp;data=05%7C01%7C%7C56dc2d41e49c4b11e65908dad15015ce%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638052439135314859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=8jLPne%2Fz1pAq%2F5VSf6zcrjvf4%2FEB%2B7TR1zaCiKD5jn0%3D&amp;reserved=0

Oscar

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fsympy%2FCAHVvXxRys96dNdHce8hjq36QfDyfoTGRnFzW%252ByG%253Dtx%253DVvquJFA%2540mail.gmail.com&amp;data=05%7C01%7C%7C56dc2d41e49c4b11e65908dad15015ce%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638052439135314859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=WCKKgq6nAPVIqzODDqy6lkynF3%2BLFPLBGg8omuMo7Mo%3D&amp;reserved=0.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/DM8P223MB02215E77F6DF64CCCD564D8BB2129%40DM8P223MB0221.NAMP223.PROD.OUTLOOK.COM.

Reply via email to