Skip to content

Instantly share code, notes, and snippets.

View N3RDIUM's full-sized avatar
🌌
Looking Up

1\13121)11_11\/1 N3RDIUM

🌌
Looking Up
View GitHub Profile
@N3RDIUM
N3RDIUM / demo.py
Created February 18, 2022 15:41
PyOpenGL and GLFW example: adding stuff to VBOs from threads!
# imports
from OpenGL.GL import *
from OpenGL.GLU import *
import glfw
import threading
# initialise glfw
if glfw.init() == glfw.FALSE:
exit()
* {
border-color: #88c0d0 !important;
}
a {
color: #eef1f6 !important;
}
a:visited {
color: #eef1f6 !important;
}
body {