Java Graphics

Back to index
Your browser is broken ASSIGNMENT:
Digits can be rendered as a group of dots as you can see on either side of this blurp. Inspecting the code for the applet shown to the left, will reveal that a single call to arc is used within a for-loop to control the placement of dots and create the digital digits. Upon closer inspection you will notice that an if statement gets triggered depending on whether or not the current item in the array called numbs is a zero or a one. You will extend this example to create the digits from one to nine plus zero. Although the example shown to the right shows little diamonds, create your rendition of this design using small circles.