Skip to content

Instantly share code, notes, and snippets.

View d2fn's full-sized avatar
🐢

Dietrich Featherston d2fn

🐢
View GitHub Profile
@d2fn
d2fn / README.md
Last active August 29, 2015 14:04
Perlin Noise Grid

Simple demonstration of 2d perlin noise.

@d2fn
d2fn / README.md
Last active August 29, 2015 14:03
Dendrite Growth with Cracks

Dendrite growth using d3 quadchart nearest neighbor search. A point is chosen at random and joined to its nearest neighbor. Each node keeps track of the node to which it was adjoined via a parent reference. As each node is attached the child count of each parent in the chain is incremented. The child count is used directly to determine rendering width of lines between nodes.

@d2fn
d2fn / README.md
Last active August 29, 2015 14:03
Dendrite Growth - nearest neighbor search using d3 quadtree

Dendrite growth using d3 quadchart nearest neighbor search.

@d2fn
d2fn / README.md
Last active August 29, 2015 14:03
Uniform Random Point Distribution

Demonstration of unevenness of uniform random distributions for point scattering.

@d2fn
d2fn / index.html
Last active August 29, 2015 14:03
Scatter Plot
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
.axis path,
.axis line {
fill: none;
stroke: black;
shape-rendering: crispEdges;
}
.axis text {
@d2fn
d2fn / gist:9572322
Last active August 29, 2015 13:57
Get Bird Sounds
curl http://web4.audubon.org/news/pressroom/bacc/imagessounds.html | grep wav | cut -d \' -f2 | sed 's/ /%20/' | xargs -I{} curl -O http://web4.audubon.org/news/pressroom/bacc/\{\}