Repo for the first assignment for the CGI (Computação Gráfica e Interfaces) subject.
This program used WebGL
.
The program draws a matrix of points in the browser window that will represent an electric field.
The user can then click
(respectively shift-click
) to place positive
(respectively negative
) charges.
You can also use the space bar
to toggle the charge preview.
Use can see this project live at Github IO