The Weekly Programming Challenge : http://weblog.jamisbuck.org/2016/10/8/weekly-programming-challenge-11.html
This is a naive implementation of the Midpoint circle algorithm, it is simple to grasp and it is a good starting point. You can play around with the demo here.