OpenPsiMu / ThePhysicsHub

The Physics Hub is an open source physics simulations project that is being developed by physics students worldwide and aims to deliver clear and easy to understand physics simulations free for everyone!
https://physicsub-198fbf007acd.herokuapp.com/
GNU General Public License v3.0
121 stars 21 forks source link

Electric Field Simulation #17

Open brtymn opened 3 years ago

brtymn commented 3 years ago

Electric Field Simulation

A simulation that shows electric fields. May include some theory that will make the simulation more meaningful.

Type of issue

Possible Fixes / Implementations

The idea is pretty straightforward. Further ideas can be discussed here.

Aloneduckling commented 3 years ago

Hello, I did some basic animation with p5js. https://editor.p5js.org/Aloneduckling/present/HcQ6gPIEA This shows the propagation of the electric field. Emerging from a negatively charged particle and going towards a positively charged particle far away from each other. PS. I am not very good at p5js just started using it.

brtymn commented 3 years ago

I had something like this in my for this simulation: https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/VFPt_charges_plus_minus_thumb.svg/2000px-VFPt_charges_plus_minus_thumb.svg.png

You can work on this if you like!

justusmattern commented 3 years ago

@Aloneduckling nice job and great that you started looking at p5! Maybe this could be extended to simulating a homogeneous force field in a capacitor where users can insert charged particles and study the forces acting on them. If you want to, we could work on this together

20akshay00 commented 3 years ago

Speaking of capacitors, a fairly simple simulation comes to mind that may also be useful, that is the display of the electric fields between the capacitor plates, however along with the fringe effects (as opposed to the usual straight line fields due to infinitely large plate assumption) to see how well the assumption holds up for various capacitor parameters. Probably as a separate simulation but I wanted to share as it came to mind.

Aloneduckling commented 3 years ago

I had something like this in my for this simulation: https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/VFPt_charges_plus_minus_thumb.svg/2000px-VFPt_charges_plus_minus_thumb.svg.png

You can work on this if you like!

I was thinking the same, I guess I can do It would need some help though.

Aloneduckling commented 3 years ago

@Aloneduckling nice job and great that you started looking at p5! Maybe this could be extended to simulating a homogeneous force field in a capacitor where users can insert charged particles and study the forces acting on them. If you want to, we could work on this together

Ok! this is great. I can share the code for the animation if you want.

brtymn commented 3 years ago

@Aloneduckling You can work with @justusmattern then.

Aloneduckling commented 3 years ago

ok

Aloneduckling commented 3 years ago

I will try to make charged particles too

brtymn commented 3 years ago

Join our Discord server if you haven't already!

20akshay00 commented 3 years ago

I think Hasith on the discord server was also working on displaying vector field flows, so perhaps you guys can discuss with him as well.

Aloneduckling commented 3 years ago

I joined the server