Skip to content

Instantly share code, notes, and snippets.

@chezbgone
Created July 29, 2016 23:55
Show Gist options
  • Select an option

  • Save chezbgone/f9897120cc7361d75348ba2a174aa883 to your computer and use it in GitHub Desktop.

Select an option

Save chezbgone/f9897120cc7361d75348ba2a174aa883 to your computer and use it in GitHub Desktop.
import pygame
import sys
from pygame.color import THECOLORS as colordict
from math import *
from hyperbolic_geo import *
pygame.init()
size = (500, 500)
screen = pygame.display.set_mode()
pygame.display.set_caption("Hyperbolic Qix")
clock = pygame.time.Clock()
vel = 5
ang = 0
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
sys.exit(0)
pygame.display.flip()
clock.tick(30)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment