THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
local shader = love.graphics.newPixelEffect [[ | |
extern vec2 size; | |
extern number factor; | |
vec4 effect(vec4 color, Image img, vec2 texture_coords, vec2 pixel_coords){ | |
vec2 tc = floor(texture_coords * size / factor) * factor / size; | |
return Texel(img, tc); | |
} | |
]] |
// Super Fast Blur v1.1 | |
// by Mario Klingemann <http://incubator.quasimondo.com> | |
// converted to C++ by Mehmet Akten, <http://www.memo.tv> | |
// Add alpha support by Victor Sigma, <http://www.aphes.com> | |
// | |
// Tip: Multiple invovations of this filter with a small | |
// radius will approximate a gaussian blur quite well. | |
// | |
void superFastBlur(unsigned char *pix, int w, int h, int radius) { |
# Credit http://stackoverflow.com/a/2514279 | |
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r |