Skip to content

Instantly share code, notes, and snippets.

View paniq's full-sized avatar

Leonard Ritter paniq

View GitHub Profile
@paniq
paniq / morph.glsl
Created July 1, 2014 04:52 — forked from glslioadmin/TEMPLATE.glsl
GLSL.io Transition (v1)
#ifdef GL_ES
precision highp float;
#endif
uniform sampler2D from, to;
uniform float progress;
uniform vec2 resolution;
const float strength=0.1;
void main() {
vec2 p = gl_FragCoord.xy / resolution.xy;
@paniq
paniq / rrbits.h
Last active September 8, 2015 21:34 — forked from anonymous/rrbits.h
// Copyright 2008-2015 RAD Game Tools
#ifndef RADRR_BITSH
#define RADRR_BITSH
#include "radtypes.h"
RADDEFSTART
//===================================================================================
# this
(x y z label: a = 1, b = 2, c = 3)
# does not produce this
(x y z (label ((a = 1) (b = 2) (c = 3))))
# but this (`:` has no knowledge of its left hand part)
(x y z label ((a = 1) (b = 2) (c = 3)))
# and this