Instantly share code, notes, and snippets.

View .block
license: gpl-3.0

Building on this - experimenting with fake 3d svg arcs using two nested orthographic projections and cardinal line interpolation.

View windhistory.js
// This is the core Javascript code for
// I haven't done a full open source release, but I figured I'd put the most important
// D3 code out there for people to learn from.
/** Common wind rose code **/
// Function to draw a single arc for the wind rose
// Input: Drawing options object containing
// width: degrees of width to draw (ie 5 or 15)
// from: integer, inner radius