Advertisement
Guest User

Untitled

a guest
Oct 20th, 2018
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. if(!t)k=0,a=[],m=n='',c.onmousedown=e=>{a=[],k=1},c.onmouseup=e=>{k=0;},c.onmousemove=e=>{if(k)a.push([e.clientX,e.clientY])}
  2. if(k&&a.length>2){ğ='';ü=''
  3. for(f=0;f<Math.min(a.length,25);f++){i=0;j=0
  4. for(q=0;q<a.length;q++){
  5. i+=C(f*(q+.5)/a.length*Math.PI)*a[q][0]/(f?1:2)
  6. j+=C(f*(q+.5)/a.length*Math.PI)*a[q][1]/(f?1:2)
  7. }
  8. ğ+=String.fromCharCode(Math.round(i*2*1920/568/a.length)+9e3)
  9. ü+=String.fromCharCode(Math.round(j*2*1920/568/a.length)+9e3)
  10. }m=ğ+'⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨';n=ü+'⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨'}
  11. z=t1=>{
  12. for(i=j=0,f=24;f--;i+=d(m),j+=d(n))d=a=>C(t1*f/8)*(a.charCodeAt(f)-9e3)
  13. x.fillRect(i,j,5,5)}
  14. x.clearRect(0,0,1920,1080)
  15. for(y=0;y<Math.PI*8;y+=1/15){
  16. z(y)
  17. }
  18. throw JSON.stringify(m.substring(0,24))+'\n'+JSON.stringify(n.substring(0,24))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement