Pointer Pointer
21–30 of 33 posts
Re: Pointer Pointer
#22I was expecting something on C dereferencing ....
Re: Pointer Pointer
#23Re: Pointer Pointer
#24I wonder if these images are all in the public domain. Edit: Seriously, these are all personal pictures of people clearly visible. Isn't that question legitimate?
I agree, it's a legitimate question. I tried to search for a bunch of them on TinEye to see if I could find some original source for any of them that might indicate a licence, but none of the ones I tried came up with any results.
Re: Pointer Pointer
#25Re: Pointer Pointer
#26The find-the-closest-finger algorithm was taken from another project we did, where we needed much more speed. We use a voronoi diagram with a distinct color for each point.. then we can get the pixel color at the position of the cursor and find the related pointer..
This is actually much faster than what you see happening on Pointer Pointer. We introduced a pause to force people to wait, thus making it a more rewarding experience when the image finally shows up. A touch of magic, you could say.
Re: Pointer Pointer
#27Does anyone know how this was implemented? It's a great example of a case where, as a computer programmer, there are still problem domains which I have absolutely no idea how to approach!
It loads a json file [1] that contains the co-ordinates of the tip of each point and the corresponding image. It uses this to create a Voronoi diagram [2] using a "custom Javascript implementation of Steven J. Fortune's algorithm" [3]. [1] http://www.pointerpointer.com/gridPositions.json [2] http://en.wikipedia.org/wiki/Voronoi_diagram [3] http://www.pointerpointer.com/js/rhill-voronoi-core.js
Try moving your pointer around to different positions very close to the top right corner. This triggers a picture with a wristwatch and water bottle. The pointing is done by the right hand, which if your pointer is too far right is cut out of the frame, but becomes visible as you move towards the left.
Re: Pointer Pointer
#28Earlier quoted context omitted.
It loads a json file [1] that contains the co-ordinates of the tip of each point and the corresponding image. It uses this to create a Voronoi diagram [2] using a "custom Javascript implementation of Steven J. Fortune's algorithm" [3]. [1] http://www.pointerpointer.com/gridPositions.json [2] http://en.wikipedia.org/wiki/Voronoi_diagram [3] http://www.pointerpointer.com/js/rhill-voronoi-core.js
Another cool thing is it appears to scale/move the image to match the desired point, at least in some cases. Try moving your pointer around to different positions very close to the top right corner. This triggers a picture with a wristwatch and water bottle. The pointing is done by the right hand, which if your pointer is too far right is cut out of the frame, but becomes visible as you move towards the left.
Re: Pointer Pointer
#29Author here. The find-the-closest-finger algorithm was taken from another project we did, where we needed much more speed. We use a voronoi diagram with a distinct color for each point.. then we can get the pixel color at the position of the cursor and find the related pointer.. This is actually much faster than what you see happening on Pointer Pointer. We introduced a pause to force people to wait, thus making it a…