Skip to content

Instantly share code, notes, and snippets.

View MrEliptik's full-sized avatar
🎯
Focusing

Victor Meunier (MrEliptik) MrEliptik

🎯
Focusing
View GitHub Profile
@MrEliptik
MrEliptik / fisheyeeffect.shader
Last active March 31, 2020 11:42 — forked from henriquelalves/fisheyeeffect
Godot Shader for FishEye 2D effect
shader_type canvas_item;
// Based on http://www.geeks3d.com/20140213/glsl-shader-library-fish-eye-and-dome-and-barrel-distortion-post-processing-filters/2/
const float PI = 3.1415926535;
uniform float BarrelPower;
vec2 distort(vec2 p) {
if(p.x > 0.0){

Using Git to Manage a Live Web Site

Overview

As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.

Contents