25 lines
412 B
Python
25 lines
412 B
Python
|
#!/usr/bin/env python
|
||
|
import geom
|
||
|
import pygame
|
||
|
import sys
|
||
|
|
||
|
def main():
|
||
|
pygame.init()
|
||
|
geom.init()
|
||
|
|
||
|
clock = pygame.time.Clock()
|
||
|
elapsed = 0
|
||
|
while geom.loop():
|
||
|
clock.tick(60)
|
||
|
#elapsed += clock.get_time()
|
||
|
#if elapsed >= 1000:
|
||
|
# print(f"FPS: {clock.get_fps()}")
|
||
|
# elapsed = 0
|
||
|
|
||
|
pygame.quit()
|
||
|
sys.exit()
|
||
|
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
main()
|