(friction, speed)
| 94 | |
| 95 | # Displaying Information on Pygame Window |
| 96 | def show_info(friction, speed): |
| 97 | font = pygame.font.SysFont("Times New Roman", 18) |
| 98 | frictionText = font.render("Friction : " + str(friction), True, white) |
| 99 | speedText = font.render("Rate of Change of Angle : " + str(speed), True, white) |
| 100 | display.blit(speedText, (15, 15)) |
| 101 | display.blit(frictionText, (15, 45)) |
| 102 | |
| 103 | |
| 104 | # The Main Function |