A coding demo created with the p5.js library, designed to teach club members with pre-OOP skill levels
(Online) https://vince14genius.github.io/Draggable-Gravitational-Field-Demo/
(If downloaded) Open index.html with any browser that is compatible with the p5.js library to run.
Click or drag to move the center of the gravitational field.
Refresh to reset.