Skip to content

ezzuldinSt/pointerpointer-min-distance

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pointerpointer but fast

this is pointerpointer.com but instant.
pp

instead of using Voronoi diagram to divide the canvas into cells and then match the cell (really cool but not that fast, i tried it before and this is faster),
i simply compute the distance between the mouse and every one of the 710 points, get the minimum value (closest point) and display that image.

the positions.js is just positions.json from pointerpointer.com but edited so its const positions = [...]
you can get the pics from pointerpointer directly with the python script. these pics aren't mine ok.

i could put this on github pages but it's really not a good idea. just clone the repo and open index.html

About

pointerpointer but fast/instant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.7%
  • Python 1.5%
  • HTML 1.3%
  • CSS 0.5%