geom-demo/geom.py

25 lines
412 B
Python
Raw Normal View History

2020-11-13 07:46:31 -07:00
#!/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()