geom-demo/geom.py
2020-11-13 18:46:31 +04:00

25 lines
412 B
Python
Executable File

#!/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()