# rough-js

- Author: Preet Shihn (pshihn)
- Source: https://github.com/rough-stuff/rough (published site: the `gh-pages` branch)
- Commit: a1a7f2410cc70d5820d47d7ddfc2464cbb756971 (gh-pages, 2020-04-06; Rough.js 3.0.0 as published there)
- Licence: MIT (./LICENSE)
- Bundled deps:
  - d3 3.5.17 (`vendor/d3/d3.min.js`, from npm `d3@3.5.17`) — BSD-3-Clause (vendor/d3/LICENSE). The original page loaded it from d3js.org/d3.v3.min.js.
  - topojson 1.6.27 (`vendor/topojson/topojson.min.js`, from npm `topojson@1.6.27`, build/topojson.min.js) — BSD-3-Clause (vendor/topojson/LICENSE). The original page loaded it from d3js.org/topojson.v1.min.js.
  - examples/us.json — US states/counties TopoJSON shipped on the gh-pages branch (the standard d3 "us.json" derived from US Census Bureau boundary files, public domain data).
- Vendored files (all from gh-pages at the commit above): LICENSE, dist/rough.js, dist/rough-async.js, dist/worker.js,
  examples/sampler.html, examples/us-map.html, examples/us.json (the two example pages are kept unmodified for reference)
- Added by Web Curio: stage.html (made from examples/sampler.html), stage-map.html (made from examples/us-map.html), vendor/, this file
- Modifications to the original (only in stage.html / stage-map.html, via stage.py):
  - strict CSP + sandbox shim inserted
  - the script `https://rawgit.com/pshihn/rough/master/dist/rough.js` (dead CDN) → `dist/rough.js` from the same gh-pages commit;
    `.../dist/rough-async.js` → `dist/rough-async.js`
  - d3 / topojson CDN scripts → the bundled copies above
  - `workerURL: '../dist/worker.js'` → `'dist/worker.js'` and `"./us.json"` → `"examples/us.json"` (pages moved up one folder)
  - a one-line link added at the bottom of each page to switch between the two examples
- Omitted: the rest of the gh-pages site (Jekyll layout with GitHub buttons / analytics hook, README screenshots, other examples).
