Skip to content

Instantly share code, notes, and snippets.

View dzenkovich's full-sized avatar

Denis Zenkovich dzenkovich

  • Minsk, Belarus
View GitHub Profile
@dzenkovich
dzenkovich / blur-run-through.js
Created June 11, 2013 10:37
Canvas Animation - Run Through
Blur.prototype.burn_ = function () {
var time = (new Date()).getTime();
var width = this.image.width;
var height = this.image.height;
if (!this.lastTime) this.lastTime = time;
if (this.dragging) {
var points = this.getAndProcessAffected();
//var edgePoints = [];