SHARE
TWEET

Untitled

a guest Mar 21st, 2014 55 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(/[\s-.,;]+/))n[i=t[r]]=n[i]+1||1;s=document;o=s.createElement("canvas");o.width=o.height=600;u=o.getContext("2d");a=0;f=50;for(i in n){u.font=n[i]*50+"px monospace";u.fillText(i,a,f+n[i]*5);a+=i.length*n[i]*50;if(a>o.width*.6){a=0;f+=n[i]*5+100}}s.body.appendChild(c=s.createElement("img"));c.src=o.toDataURL("image/png")}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top