From 3c1c175dd2860ade1215b45bc2aa1d135dc905d3 Mon Sep 17 00:00:00 2001 From: Jules Date: Thu, 19 Dec 2013 01:20:54 -0500 Subject: neighbor --- neighbor/index.html | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 neighbor/index.html (limited to 'neighbor/index.html') diff --git a/neighbor/index.html b/neighbor/index.html new file mode 100644 index 0000000..8356796 --- /dev/null +++ b/neighbor/index.html @@ -0,0 +1,56 @@ + + +Neighbor JS + + +

Neighbor.js

+ +

+ Neighbor.js resizes images using a nearest neighbor algorithm automatically. +

+ + + $("#people img").neighbor(); + + +
+ + + + + + + + +
+ +

+ Run it on particular images, or all images automatically. +

+ +

+ Also use it to put a nearest-neighbor resized image on the background of an element: +

+ + + $("#wallpaper").neighbor({ url: "people2.GIF", scale: "250%" }); + + +
+ + + + + + + + + + -- cgit v1.2.3-70-g09d2