Open gussmith23 opened 5 years ago
I think there is a lot of separation already, but we could potentially do more. For example, sliders could move into the viz.js file (esp. if we're going to put them inside the circle, which probably means putting them in the SVG).
I think the goal would be to keep any calls to update
within viz.js
I don't think we should be doing any logic other than e.g. setting the highest-level parameters (maybe max
n
andes
?) in index. Ideally, we would just:createViz()
function, passing in maxn
, maxes
, the SVG, and other parameters.