Skip to content

Commit

Permalink
Bit of aussie flavour
Browse files Browse the repository at this point in the history
  • Loading branch information
mbooth101 committed Jun 2, 2024
1 parent 662c2e3 commit e44cdc0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def update(self, delta):
delay = (12 - self.chaos) * 250
if self.accum > delay:
self.accum = self.accum - delay
self.greet0 = random.randrange(6)
self.greet0 = random.randrange(7)
self.greet1 = random.randrange(3)
self.greet2 = random.randrange(3)
if self.button_states.get(BUTTON_TYPES["CANCEL"]):
Expand Down Expand Up @@ -61,6 +61,8 @@ def draw(self, ctx):
ctx.rgb(0.5,1,0).move_to(offset, offsety).text("Alreet")
if self.greet0 == 5:
ctx.rgb(0.5,1,0).move_to(offset, offsety).text("Moornin")
if self.greet0 == 6:
ctx.rgb(0.5,1,0).move_to(offset, offsety).text("G'day")

x_factor = math.cos(math.radians((self.elapsed % 360) + 120)) * ratio
y_factor = math.sin(math.radians((self.elapsed % 360) + 120)) * ratio
Expand Down

0 comments on commit e44cdc0

Please sign in to comment.