Skip to content

Instantly share code, notes, and snippets.

View mikolalysenko's full-sized avatar

Mikola Lysenko mikolalysenko

View GitHub Profile
mikolalysenko / Dreamy.glsl
Created May 21, 2014 14:55 — forked from glslioadmin/TEMPLATE.glsl Transition (v1)
#ifdef GL_ES
precision highp float;
uniform sampler2D from, to;
uniform float progress;
uniform vec2 resolution;
vec2 offset(float progress, float x, float theta) {
float phase = progress*progress + progress + theta;
float shifty = 0.03*progress*cos(10.0*(progress+x));
<!DOCTYPE html>
<title>HTML5/JS Poject1</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script src=""></script> <!-- needed to run jQuery stuff -->
<script src="script.js" type="text/javascript"></script>
<div id='unit'></div>