Skip to content

Instantly share code, notes, and snippets.

View Noisk8's full-sized avatar

Noisk8 Noisk8

View GitHub Profile
@keijiro
keijiro / 00_blot6.md
Created March 8, 2018 13:36
KodeLife fragment shader sketch

gif

@karlrwjohnson
karlrwjohnson / minimal_pyqt_pyopengl.py
Last active December 21, 2019 09:45
Python + QT + OpenGL 3
"""
Minimal demo of OpenGL >= 3.0, Qt >= 5.0 in Python 3.6
Uses a programmable shader pipeline to draw a pair of triangles.
Eschews PyQt's wrapper functions in favor of PyOpenGL's because I couldn't get it to draw
anything other than a black screen (which means any one of a hundred details were incorrect).
Besides, you'd have to fall back on PyOpenGL to get glDrawArrays anyway, so we may as well
use it for everything.
@lvm
lvm / README.md
Created February 13, 2017 16:37
[WIP] hackish emacs mode for FoxDot

Installation

  1. put foxdot-cli.py in the same directory as the FoxDot installaton (in case you're using virtualenv, otherwise comment from lines 5 to 7)
  2. copy foxdot-mode.el to ~/.emacs.d/lisp
  3. add (defvar foxdot-cli-path "/path/to/foxdot-cli/") in your ~/.emacs file
  4. in Emacs M-x load-library and complete with foxdot-mode
  5. Type C-c C-f or M-x foxdot-start to start
  6. Type C-c C-e or M-x foxdot-execute to evaluate a line or a block of code