Skip to content

Instantly share code, notes, and snippets.

View joshcarr's full-sized avatar
👁️
Seeing

Josh Carr joshcarr

👁️
Seeing
View GitHub Profile
@joshcarr
joshcarr / .block
Created April 19, 2017 18:54 — forked from Azgaar/.block
Fantasy Map Generator
license: gpl-3.0
height: 760
border: no
@joshcarr
joshcarr / bling.js
Created June 10, 2016 17:17 — forked from paulirish/bling.js
bling dot js
/* bling.js */
window.$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn);
}
NodeList.prototype.__proto__ = Array.prototype;
@joshcarr
joshcarr / esnextbin.md
Last active May 12, 2016 19:07
esnextbin sketch
@joshcarr
joshcarr / README.md
Last active December 1, 2015 08:55 — forked from mbostock/.block
Wave Motion

A recreation of a lovely GIF by Dave Whyte. As the Exploratorium explains, “Wave motion at the surface of water is made up of small circular motions of parcels of water.”

@joshcarr
joshcarr / README.md
Last active August 29, 2015 14:24 — forked from mbostock/.block
@joshcarr
joshcarr / README.md
Last active August 29, 2015 14:23 — forked from mbostock/.block

This brush snaps to day boundaries. As the user brushes, the brush fires brush events, allowing a listener to adjust the brush extent. Compare this approach to using brush transitions on brushend.

@joshcarr
joshcarr / README.md
Last active August 29, 2015 14:23 — forked from mbostock/.block

This brush snaps to day boundaries. When the user releases the brush, the brush fires a brushend event, allowing a listener to adjust the brush extent. Using the new brush transitions released in D3 3.3, the brush smoothly interpolates from the original extent to the rounded extent. Compare this approach to using immediate snapping while brushing.

@joshcarr
joshcarr / README.md
Last active August 24, 2023 04:09 — forked from mbostock/.block
Google Maps + D3 + hexbin

This example shows how to use the d3.hexbin plugin for hexagonal binning on GoogleMaps. It is an update of Mike Bostock's Google Maps + D3 block.

@joshcarr
joshcarr / README.md
Last active August 29, 2015 14:08 — forked from metmajer/README.md

Simple time series data modeling composed of a trend, seasonality and random component with dataseries.js.

@joshcarr
joshcarr / README.md
Created August 12, 2014 23:52 — forked from d2fn/README.md

Each curve follows 2d perlin space at a different, but nearby, z axis. The result is the appearance of topology as curves expose gradients in noise function.