Skip to content

Instantly share code, notes, and snippets.

@philipbjorge
philipbjorge / main.py
Created January 19, 2013 23:05 — forked from MorganBorman/main.py
VAOs in PyOpenGL
import OpenGL.GL as GL
import OpenGL.GL.shaders
import ctypes
import pygame
import numpy
vertex_shader = """
#version 330
in vec4 position;
#!/usr/bin/env python
import sys
import math
from random import shuffle
import numpy as np
loop_iters = 0
"""
NOTE: I'm pretty sure we're using the word bogo without knowing what it means...