Skip to content

UkuNano/Electric-field-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electric-field-simulator

A simple program that lets you place electric charges and formations of electric charges (meshes) in a 2D grid and calculates the electric field and electric field lines. It just uses the Coulomb's law to calculate the field strength at a point. The formula E = k * q / r^2 is used to calculate the field strength vector for a single charge at a single point and then all the vectors are added together to get the field strength vector for a single point.

Download the Windows executable at https://ukunano.itch.io/electric-field-simulator.

Made in C using Raylib 4.5. Compiled with the Notepad++ script that executes GCC, both of which came directly from the Raylib installer.

About

A simple electric field simulation program made in C using Raylib 4.2.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages