Cellular automata in GLSL+PyQT. Various rulesets can be found by checking out individual commits. http://hut.pm/cellmade_gallery.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 lines
190 B

#version 120
varying vec4 pos;
void main() {
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
pos = gl_Position;
pos.x = (pos.x + 2) / 4;
pos.y = (pos.y + 2) / 4;
}