Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
fisheye.js

README.md

Fish-Eye Transform Module

description

Circular Fish-Eye transform

see also blog entry

sample

fisheye_transform

(Tests: IE9, Firefox16.0, Chrome21.0, Safari6.0, Opera12.0)

usage

//  img: ImageData object
//  focalLength: focal-length Number (int)
//  radius: circle radius Number (int)
var focalLength = 55;
var radius = 60;

// returns ImageData object
var result = Fisheye.transform(img, focalLength, radius);

license

Copyright © 2014 wellflat Licensed under the MIT License

You can’t perform that action at this time.