Working on 4w 3

This commit is contained in:
Brady
2019-09-30 22:29:42 -06:00
parent 21d4f28699
commit f2be979bd6
12 changed files with 413 additions and 8 deletions

4
hw4/d3.js vendored
View File

@@ -5390,8 +5390,8 @@ function contours() {
// Marching squares with isolines stitched into rings.
// Based on https://github.com/topojson/topojson-client/blob/v3.0.0/src/stitch.js
function isorings(values, value, callback) {
var fragmentByStart = new Array,
fragmentByEnd = new Array,
var fragmentByStart = [],
fragmentByEnd = [],
x, y, t0, t1, t2, t3;
// Special case for the first row (y = -1, t2 = t3 = 0).