Created by Christopher Manning
Created by Christopher Manning
- Make all generated codes scannable.
Created by Christopher Manning
The Self-Dividing Line inspired me to practice my craft and create this humble imitation.
Created by Christopher Manning
Created by Christopher Manning
Created by Christopher Manning
I created this to generate a serialized octocat grid for an upcoming art project. You could use this with any SVG that's only composed of individual path elements.
- This renders too slowly for general consumption, so try to fix that.
Forked from: https://gist.github.com/gtb104/3667340
Here's a d3 plugin that allows you to create a polygon selection. You instantiate it just like d3.svg.brush.
var brush = d3.svg.polybrush();
It has an extra public method that 'brush' does not, and that's 'isWithinExtent(x, y)'. You can use this method to test if a given point falls within the drawn extent.
if (brush.isWithinExtent(x, y)) {
console.log("I'm inside!");
Created by Christopher Manning
I created this to experiment with SVG rotate, chained transitions, and arc generated paths. I picked my company's logo since it has an interesting design and I had an idea of animating it.
My first attempt had me just using the d3.svg.arc() startAngle and endAngle to create the arcs, but that left the arcs with angled edges when they were rotated to line up. Instead, the arcs are full circles and white rectangles rotate around each arc to give the illusion
Created by Christopher Manning
Created by Christopher Manning
Draws a force directed graph using svg:path and geo projections onto a sphere.