This visualization shows distances of various similarity functions in a 2D vector space. Choose the distance function from the menu or use the number keys to quickly switch between them. You can also add or remove points interactively. Boundaries of closest neighbor regions are shown in red. Read more about the visualization on Medium.
The live version can be found here.
The whole repo can be served as is. There is no build step needed.
For convenience the make run-web
command exists to start a local file server.
After recording a video using the Record
button it is saved in the webm
format.
If a gif
is needed, the command make convert INPUT=~/Downloads/video.webm
converts the
specified webm
video and places the gif
version into the same folder. ffmpeg
is required.
If you encounter any bugs or problems, feel free to file an issue.