Building on this - experimenting with fake 3d svg arcs using two nested orthographic projections and cardinal line interpolation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(XML) | |
getMARCField = function(marc_doc, tag, code) { | |
xpath = paste("/m:collection/m:record/m:datafield[@tag='", tag, "']/m:subfield[@code='", code, "']", sep="") | |
return(xpathApply(marc_doc, xpath, namespaces=c("m"), xmlValue)) | |
} | |
vs = xmlRoot(xmlParse('vail-first-3500.xml')) | |
field100a = getMARCField(vs, '100', 'a') |
View this code at http://livecoding.io/5004429
View this code at http://livecoding.io/5004474
View this code at http://livecoding.io/5004662
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var httpAgent = require('http-agent'), | |
util = require('util'); | |
var agent = httpAgent.create('www.google.com', ['finance', 'news', 'images']); | |
agent.addListener('next', function (err, agent) { | |
console.log('Body of the current page: ' + agent.body); | |
console.log('Response we saw for this page: ' + util.inspect(agent.response)); | |
// Go to the next page in the sequence |
Experimenting with transitions on pattern fills.
also see http://bl.ocks.org/dwtkns/7319558
Paths exported from Illustrator; animated with http://snapsvg.io/
Made after I saw the thingy at the bottom of http://www.microsoft.com/en-us/news/stories/cybercrime/index.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
path { fill:none; stroke:white; } | |
.bg { fill: #446;} | |
.inner { stroke-width: 500px; stroke: #ffc; opacity: .2;} | |
.dark { stroke: #114; opacity:.2;} | |
</style> |