Estrellita
import pygame from pygame.locals import * from OpenGL.GL import * from OpenGL.GLU import * verticies = ( (0,2.5,0), (1,1,0), (3,1,0), (1.5,-.5,0), (2.5,-3,0), (0,-2,0), (-2.5,-3,0), (-1.5,-.5,0), (-3,1,0), (-1,1,0), (0,0,.5), (0,0,-.5) ) edges = ( (0,1),(1,2),(2,3),(3,4),(4,5),(5,6),(6,7),(7,8),(8,9),(9,0), (0,10),(1,10),(2,10),(3,10),(4,10),(5,10),(6,10),(7,10),(8,10),(9,10), (0,11),(1,11),(2,11),(3,11),(4,11),(5,11),(6,11),(7,11),(8,11),(9,11) ) def Cube(): glBegin(GL_LINES) for edge in edges: for vertex in edge: glVertex3fv(verticies[vertex]) glEnd() def main(): pygame.init() display = (800,600) pygame.display.set_m...