CodingTrain / CodingTrain/Suggestion-Box

Elastic collisions in 1D & 2D

Open
#364 1 comment 1 reaction 0 assignees View on GitHub
Suggestion
Dominant language
No language data
Stars
570
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Can you do a video about elastic collisions? I think bouncing/colliding balls in a container is one of the very first simulations anyone would try. In fact, that's what I'm experimenting with at the moment.

I could not find a good source to help me on this, so I started experimenting myself and keep record of the process for anyone that'd want to code the same thing in the future. It can be found at [https://github.com/akinuri/bouncing-balls](https://github.com/akinuri/bouncing-balls). I've just finished collisions in 1D, and will move on to 2D soon.

Even though I've got it working in 1D, and probably will in 2D too, this will take many trials. I, and probably future visitors, would really appreciate your help.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.