Skip to content

Instantly share code, notes, and snippets.

Avatar

Christopher Manning christophermanning

View GitHub Profile
@christophermanning
christophermanning / 50_top_paid_chicago_lobbyists.json
Last active Sep 22, 2020
Chicago Lobbyists Force-Directed Graph Visualization
View 50_top_paid_chicago_lobbyists.json
{"links":[{"target":1,"source":0},{"target":2,"source":0},{"target":3,"source":0},{"target":4,"source":0},{"target":5,"source":0},{"target":6,"source":0},{"target":7,"source":0},{"target":8,"source":0},{"target":9,"source":0},{"target":10,"source":0},{"target":11,"source":0},{"target":12,"source":0},{"target":13,"source":0},{"target":14,"source":0},{"target":15,"source":0},{"target":16,"source":0},{"target":17,"value":22,"source":0},{"target":18,"value":24,"source":0},{"target":19,"value":28,"source":0},{"target":20,"value":19,"source":0},{"target":21,"value":19,"source":0},{"target":22,"value":26,"source":0},{"target":23,"value":28,"source":0},{"target":25,"source":24},{"target":26,"source":24},{"target":27,"source":24},{"target":28,"source":24},{"target":29,"source":24},{"target":30,"source":24},{"target":31,"source":24},{"target":32,"source":24},{"target":33,"source":24},{"target":34,"source":24},{"target":35,"value":1,"source":24},{"target":36,"value":12,"source":24},{"target":23,"value":1,"source":24},{"
@christophermanning
christophermanning / README.md
Last active Sep 15, 2020
Bitbucket Download Directory
View README.md

Python script to download/shallow clone the files of a directory at bitbucket. This is useful when you just want a copy of the files in a subdirectory of a repository without needing mercurial or having to download the entire repository.

@christophermanning
christophermanning / README.mkd
Last active Sep 13, 2020
Hamiltonian Graph Builder
View README.mkd
<style type="text/css">p {text-align:center;width: auto}</style>

Created by Christopher Manning

Gallery

Axle Eight Fibbobaci Florets [![Star]

@christophermanning
christophermanning / README.md
Last active Mar 12, 2020
Octocat Force Layout
View README.md
@christophermanning
christophermanning / README.md
Last active Dec 22, 2019 — forked from tmcw/index.html
Unknown Pleasures
View README.md

Forked from Tom MacWright and updated by Christopher Manning

Summary

This adds simplex noise to the waves. The 3D noise uses the parameters x and y. z is a function of the velocity and frame from d3.timer.

Controls

  • Drag up and down to adjust the height of the noise
@christophermanning
christophermanning / README.md
Last active Dec 9, 2019
Voronoi Diagram with Force Directed Nodes and Delaunay Links
View README.md

Created by Christopher Manning

Summary

Nodes are linked to nodes in neighboring cells. The cell's color is a function of its area.

The white lines are the Delaunay triangulation and the purple cells are the Voronoi diagram.

Controls

View README.md

Created by Christopher Manning

Summary

This is an experiment using a random walk to draw shapes. Adjusting theta results in a very organic or procedural drawing. The random walk stays in the geometry by using a point in polygon test.

Controls

@christophermanning
christophermanning / README.md
Last active Oct 27, 2019
Spherical Random Walk
View README.md

Created by Christopher Manning

Summary

Draws a random walk onto a sphere using canvas and geo projections.

Controls

@christophermanning
christophermanning / README.md
Last active Sep 13, 2019
Red Dots On A Map
View README.md
You can’t perform that action at this time.