Skip to content

Instantly share code, notes, and snippets.

@lprhodes
lprhodes / hueRotation.FSH
Created February 20, 2012 23:41
hue rotation
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform lowp float hueAdjust;
precision mediump float;
// no need to compute these...
const float sqrt2 = 1.414213562373095;
const float sqrt3 = 1.732050807568877;
const float oneoversqrt2 = 0.707106781186548;
const float oneoversqrt3 = 0.577350269189626;
@lprhodes
lprhodes / QuestionListView.j
Created March 15, 2011 05:33
A more clean but still broken version
/*
* AppController.j
* blah
*
* Created by You on March 15, 2011.
* Copyright 2011, Your Company All rights reserved.
*/
@import <Foundation/CPObject.j>
@lprhodes
lprhodes / Cappuccino Variable Row Error Example
Created March 15, 2011 04:48
An error with the CPTableView not displaying when first shown
@import <Foundation/CPObject.j>
@implementation QuestionListViewController : CPView
{
CPView view;
CPDictionary questions;
CPRect bounds;