We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb32c91 commit 159b014Copy full SHA for 159b014
src/1000 bouncy balls.py
@@ -22,7 +22,7 @@ def __init__(self, x, y, angle):
22
self.vx = math.cos(angle) * EXPLOSION_SPEED # Velocity in x direction
23
self.vy = math.sin(angle) * EXPLOSION_SPEED # Velocity in y direction
24
color = pmma.ColorConverter()
25
- self.color = color.generate_color_from_perlin_noise()
+ self.color = color.generate_random_color()
26
self.start_time = time.perf_counter()
27
28
def render(self):
0 commit comments