equal
deleted
inserted
replaced
102 |
102 |
103 // deltas for each grid step |
103 // deltas for each grid step |
104 val d_x = (end.re - start.re) / W |
104 val d_x = (end.re - start.re) / W |
105 val d_y = (end.im - start.im) / H |
105 val d_y = (end.im - start.im) / H |
106 |
106 |
107 for (y <- (0 until H).par) { |
107 for (y <- (0 until H)) { |
108 for (x <- (0 until W).par) { |
108 for (x <- (0 until W)) { |
109 |
109 |
110 val c = start + |
110 val c = start + |
111 (x * d_x + y * d_y * i) |
111 (x * d_x + y * d_y * i) |
112 val iters = iterations(c, max) |
112 val iters = iterations(c, max) |
113 val col = |
113 val col = |