You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
confetti: tweak graphics
This commit is contained in:
@@ -62,9 +62,9 @@ class Confetti(Activity):
|
||||
piece = {
|
||||
'img_idx': idx,
|
||||
'x': random.uniform(-10, self.SCREEN_WIDTH + 10),
|
||||
'y': random.uniform(50, 100),
|
||||
'y': random.uniform(50, 150),
|
||||
'vx': random.uniform(-100, 100),
|
||||
'vy': random.uniform(-250, -80),
|
||||
'vy': random.uniform(-150, -80),
|
||||
'spin': random.uniform(-400, 400),
|
||||
'age': 0.0,
|
||||
'lifetime': random.uniform(1.8, 5),
|
||||
|
||||
Reference in New Issue
Block a user