I saw this Simple Harmonic Motion video yesterday & I decide to make it in 3D.
Every ball is moving in a straight line but it looks like they are traveling in a circle.
Try it live here https://hiteshsahu.com/SHM
You can change the number of balls and the frequency of oscillation.
The wooden base is generated using CSG. Other than that everything else is pretty standard. You can even throw balls in the holes.