Skip to content

Instantly share code, notes, and snippets.

[
{
"name": "Lily58"
},
[
{
"x": 3,
"a": 7
},
"E",
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
module ProjectEuler2
( printAnswer
) where
fibonacci :: [Int] -> Int -> [Int]
fibonacci (n:m:xs) x
| n+m > x = reverse (n:m:xs)
| otherwise = fibonacci (n+m:n:m:xs) x
fiblim :: Int -> [Int]
@byungyoonc
byungyoonc / ChromaticAberration_Fragment.glsl
Created July 2, 2015 04:13
Simulates chromatic aberration to the input texture sampler2D tex.
#version 150
uniform sampler2D tex;
in vec2 f_texCoord;
out vec4 fColor;
vec3 refractiveIndex = vec3(1.03, 1.05, 1.08);
void main(void)