TableTennis
Table tennis physics simulations, ball trajectories considering drag, magnus force, and table friction.
Install / Use
/learn @dryanguasr/TableTennisREADME
Table Tennis Physics Simulator (Work in Progress)

Welcome to the Table Tennis Physics Simulator repository! If you've ever been curious about the intricate dance between physics and sports, you're in for a treat. This project is your gateway to exploring the fascinating world of table tennis like never before.
What is the Table Tennis Physics Simulator?
The Table Tennis Physics Simulator is an innovative and educational project that brings together the realms of science and sports. Our simulator allows you to dive deep into the dynamic physics governing table tennis ball trajectories. Experience the thrill of crafting your shots, accounting for drag, Magnus force, and table friction – just like a seasoned table tennis pro!
Key Features
- Realistic Physics: Immerse yourself in an authentic table tennis experience with accurate simulations of ball trajectories influenced by drag, Magnus force, and table friction.
- Interactive Interface: Easily customize parameters such as ball speed, spin, and angle to observe their profound effects on the ball's path.
- Visual Delight: Watch the action unfold through captivating visualizations that vividly depict the intricate interplay between physics and sports.
- Educational Tool: Gain a deeper understanding of physics concepts by witnessing their direct impact on a familiar and engaging scenario.
How to Use
-
Clone the Repository: Start by cloning this repository to your local machine using
git clone https://github.com/dyanguasr/table-tennis-physics.git. -
Run the Simulator: Launch the MATLAB version with
TableTennisTests.mlx, run the Python script withpython table_tennis_simulation.py [--save output.mp4], or openinteractive_table_tennis.ipynbto experiment with sliders. -
Experiment and Explore: Tweak the parameters, observe the changes in ball trajectories, and marvel at the elegance of physics at play.
Contributions and Feedback
We welcome contributions from the community! Whether you're a physics enthusiast, a sports enthusiast, or just someone curious about programming simulations, your insights are invaluable. Feel free to open issues, submit pull requests, or engage in discussions.
If you have any questions, suggestions, or ideas, don't hesitate to reach out to us. We're excited to collaborate and make this simulator even more impressive!
About the Author
Hi, I'm David Yanguas – a passionate table tennis player and physics enthusiast. This project combines my love for both fields and serves as an avenue to share the wonders of physics through the lens of a beloved sport. Connect with me on LinkedIn to stay updated on my journey and other projects.
Dive into the exhilarating world of table tennis and physics – let's explore, learn, and have a smashing good time together!
Disclaimer: This project is intended for educational and entertainment purposes. While the simulations aim to replicate real-world scenarios, they may not encompass all complexities of actual gameplay.
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
