Skip to content

Commit 159b014

Browse files
effect tweaking
1 parent eb32c91 commit 159b014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/1000 bouncy balls.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def __init__(self, x, y, angle):
2222
self.vx = math.cos(angle) * EXPLOSION_SPEED # Velocity in x direction
2323
self.vy = math.sin(angle) * EXPLOSION_SPEED # Velocity in y direction
2424
color = pmma.ColorConverter()
25-
self.color = color.generate_color_from_perlin_noise()
25+
self.color = color.generate_random_color()
2626
self.start_time = time.perf_counter()
2727

2828
def render(self):

0 commit comments

Comments
 (0)