Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2014
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function w(e){n={};for(r in t=e.split(/[^\w]+/))n[i=t[r]]=n[i]+1|1;s=document;with(o=s.createElement("canvas"))S=width=height=600,u=getContext("2d");a=0;f=50;for(i in n){m=n[i]*50;z=.1*m;u.font=m+"px mono";u.fillText(i,a,f+z);a+=i.length*m;if(a>S*.6)a=0,f+=z+99}location=o.toDataURL("image/png")}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement