Add collisions by autobotx343 · Pull Request #14787 · TheAlgorithms/Python · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
be3aacb
Module for Inelastic and Elastic Collisions
autobotx343 Jun 8, 2026
d56039a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 8, 2026
fc92cad
Merge pull request #1 from autobotx343/add-collisions
autobotx343 Jun 8, 2026
63c4a27
fixed error to push to main
autobotx343 Jun 9, 2026
809da52
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 9, 2026
27e8701
ruff changes
autobotx343 Jun 9, 2026
83f1c46
Merge branch 'add-collisions' of https://github.com/autobotx343/Pytho…
autobotx343 Jun 9, 2026
8fee167
ruff changes
autobotx343 Jun 9, 2026
45d51d9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 9, 2026
67e0218
fixed error to push to main
autobotx343 Jun 9, 2026
5aa3910
ruff changes
autobotx343 Jun 9, 2026
8864a1f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 9, 2026
d1ce624
ruff changes
autobotx343 Jun 9, 2026
7a94011
Merge branch 'add-collisions' of https://github.com/autobotx343/Pytho…
autobotx343 Jun 9, 2026
befc379
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 10, 2026
b4c6e5d
ruff changes 2.0
autobotx343 Jun 15, 2026
7f2f419
Merge branch 'add-collisions' of https://github.com/autobotx343/Pytho…
autobotx343 Jun 15, 2026
8aa7fee
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 15, 2026
48bc582
final change
autobotx343 Jun 15, 2026
477dace
Merge branch 'add-collisions' of https://github.com/autobotx343/Pytho…
autobotx343 Jun 15, 2026
4262f71
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 15, 2026
facc61f
added spring potential energy
autobotx343 Jun 17, 2026
4d86697
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 17, 2026
eb4c3e3
Potential Energy, and Time complexity added
autobotx343 Jun 17, 2026
ff86242
Merge branch 'add-collisions' of https://github.com/autobotx343/Pytho…
autobotx343 Jun 17, 2026
b2b59b1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
142 changes: 142 additions & 0 deletions physics/collisions.py
114 changes: 82 additions & 32 deletions physics/potential_energy.py