资 源 简 介
wtf is a specialized web server that also acts as client to twitter.
wtf acts as a "compiler" for the browser, responding to requests with
optimized "pre-cooked" JavaScript canvas directives---think of it as
assembly language for the code in Webkit that interprets canvas tag
data.
For example:
C.beginPath();C.arc(799,167,8,0,p2,true);C.fill();
draw the circles. All computations like coordinate and object
positioning is done by the wtf, not the browser.
wtf responds to requests in this format:
/users/{user1,user2...}
/list/{name}/{listname}
graphics/layout parameters are:
b={begin time, YYYY-MM-DD}
e={end time, YYYY-MM-DD}
c={max tweetcout}
m={marker width, pixels}
p={picture width, pixels}
l={line height, pixels}
For example:
/users/ajstarks,nytimes,%23golang,cnn?b=2009-12-05&e=2009-12-09&c=100&m=12&p=48&l=