The Inner Product as a Decision Rule
(Click the image above or this link for a demo)
Setup for running on a local machine
npm install # or yarn install npm install -g gulp gulp watch # demo live updates when code changes
index.html in a web browser and drag around the arrowheads.
geometry.js contains the main geometric primitives that are unrelated to
rendering. The coordinate system for these classes is standard Cartesian
main.js instantiates the geometry objects, renders them with d3, and sets up
the relevant behaviors.