Some views call visualizations, viz’s.


A viz draws voters and sometimes candidate distributions. All have update and render functions.


Another group of functions, vizEntities, draws the handles for clicking and dragging these entities.

The viz’s for ViewMode state “one” are:

The viz’s for ViewMode state “sample” are:

Viz* calls specialized drawing functions for each viz type:

Each of these viz’s can have “renderer makers” for the 1D and 2D cases. Maybe in the future this part could be simplified, but it works for now. The idea was to make a renderer function that needed no arguments so it could be run from other functions.