The following Images below presents the result of code when the Invention1.java program was executed from IntelliJ.
The pixels in this case are squares with dimesions 1*1 and circles of radius 1
The pixels in this case are squares with dimesions 25*25 and circles of radius 25 to illustrate the shapes being painted