How do I make my squares generate behind each other rather than on top of eachother without using recursion?
问题 I've gotten some help in another one of my questions to get me this far but I'd like to know how to make my squares generate behind one another rather than on top of each other. The below code is what I've got so far. This is the code that places them behind each other recursively: import java.awt.image.*; import java.awt.Color; import java.io.*; import javax.imageio.*; import java.util.*; public class FractalDriver { static final int SIDE = 1000; // image is SIDE X SIDE static BufferedImage