Skip to content

prajwalsouza/Counting-Collisions

Repository files navigation

Counting-Collisions

An interative/simulation inspired by an awesome video by 3Blue1Brown.

Update (5th July 2019)

Just came across some good work by github user asa55, which involved, refining and simplying the code used in this project. Please refer to that version if you want to use the framework and the code used in this project. And, also check out the other projects there.

Update (13th Feb 2019)

When special relativistic equations for elastic collisions were taken into account, the constant energy curve isn't an ellipse at speeds close to the speed of light. It's more of a rounded rectangle.

When mass m2 = 1000 and it's initial speed is 0.01c.

When mass m2 = 1000 and it initial speed was 0.01c

When mass m2 = 1000 and it's initial speed is 0.1c.

When mass m2 = 1000 and it initial speed was 0.1c

When mass m2 = 10000 and it's initial speed is 0.1c.

When mass m2 = 10000 and it initial speed was 0.1c

Code at : https://github.com/prajwalsouza/Counting-Collisions/blob/master/collision-calculations-in-specialrelativity.py

Releases

No releases published

Packages

No packages published