From 3c1c175dd2860ade1215b45bc2aa1d135dc905d3 Mon Sep 17 00:00:00 2001 From: Jules Date: Thu, 19 Dec 2013 01:20:54 -0500 Subject: neighbor --- index.html | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 index.html (limited to 'index.html') diff --git a/index.html b/index.html new file mode 100644 index 0000000..482f6a6 --- /dev/null +++ b/index.html @@ -0,0 +1,64 @@ + + +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%" }); + + +
+ +

+ There are two versions: +

+ + + + + + + + + + + -- cgit v1.2.3-70-g09d2