How to code a physics simulation about matter and antimatter? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to code a physics simulation about matter and antimatter?

I want to code a simulation about particle physics but anyone to help me out in anyways?(in idea or in code)

27th Mar 2022, 9:16 AM
Sololearnaccount .
Sololearnaccount . - avatar
10 Answers
+ 3
Yes I will
27th Mar 2022, 11:58 AM
Sololearnaccount .
Sololearnaccount . - avatar
+ 3
Sounds like a physics simulation game. What language or program will you be using? You could check out p5.js maybe? https://editor.p5js.org/p5/sketches Or matter.js? https://brm.io/matter-js/ The Coding Train is a fantastic YouTube channel for learning about these things. https://m.youtube.com/watch?v=urR596FsU68
28th Mar 2022, 7:21 AM
Bob_Li
Bob_Li - avatar
+ 2
It will be about mass actually It’s like if both mass are equal they will annihilate each other and it will end up with photons generating from that collision
27th Mar 2022, 9:44 AM
Sololearnaccount .
Sololearnaccount . - avatar
+ 2
Thanks mate
28th Mar 2022, 1:32 PM
Sololearnaccount .
Sololearnaccount . - avatar
+ 1
I thought about it and chose to do it 2D
27th Mar 2022, 9:30 AM
Sololearnaccount .
Sololearnaccount . - avatar
+ 1
Thx btw😁😁😁
27th Mar 2022, 9:31 AM
Sololearnaccount .
Sololearnaccount . - avatar
+ 1
Yeah
27th Mar 2022, 9:32 AM
Sololearnaccount .
Sololearnaccount . - avatar
+ 1
But not only that
27th Mar 2022, 9:32 AM
Sololearnaccount .
Sololearnaccount . - avatar
+ 1
It should calculate the energy that is emitted
27th Mar 2022, 9:33 AM
Sololearnaccount .
Sololearnaccount . - avatar
+ 1
Positron and electron
27th Mar 2022, 9:40 AM
Sololearnaccount .
Sololearnaccount . - avatar