An open API service indexing awesome lists of open source software.

https://github.com/gravitytwog/electromagneticfield

Electro-magnetic field simulation made with CUDA
https://github.com/gravitytwog/electromagneticfield

c cuda cuda-kernels cuda-programming

Last synced: 29 days ago
JSON representation

Electro-magnetic field simulation made with CUDA

Awesome Lists containing this project

README

          

# Electro-magnetic field simulation with CUDA

Press left mouse button to create bunch of particles.
Press right mouse button to create one particle.
Press middle mouse button to clear screen.
Press 'E' keyboard button to toggle electric field.

![](preview.gif)

## Building

Copy library folders to /libs folder.

Create build files:

```sh
cmake -B build
```

Compile executable:

```sh
cmake --build build --config Release

#or

cmake --build build --config Debug
```