Rainbow Ball: feedback

The tests don’t check for the ball’s direction or hue changing directions. The following code passes the tests.

let x = 5
let y = 5
let hue = 100

repeat(200) {
  circle(x, y, 10, hsl(hue, 80, 50))
  x = x + 2
  y = y + 1
  hue = hue + 1
}
1 Like

The “Functions” section of the instructions does not include Math.randomInt(min, max)

1 Like

I drew 50 circles and passed the “1000 circles” test. This isn’t checking the number of circles nor the 80% coverage.

1 Like

All done. Thanks! :slight_smile:

1 Like

2 posts were split to a new topic: Help: rainbow ball