Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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])}
- if(k&&a.length>2){ğ='';ü=''
- for(f=0;f<Math.min(a.length,25);f++){i=0;j=0
- for(q=0;q<a.length;q++){
- i+=C(f*(q+.5)/a.length*Math.PI)*a[q][0]/(f?1:2)
- j+=C(f*(q+.5)/a.length*Math.PI)*a[q][1]/(f?1:2)
- }
- ğ+=String.fromCharCode(Math.round(i*2*1920/568/a.length)+9e3)
- ü+=String.fromCharCode(Math.round(j*2*1920/568/a.length)+9e3)
- }m=ğ+'⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨';n=ü+'⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨⌨'}
- z=t1=>{
- for(i=j=0,f=24;f--;i+=d(m),j+=d(n))d=a=>C(t1*f/8)*(a.charCodeAt(f)-9e3)
- x.fillRect(i,j,5,5)}
- x.clearRect(0,0,1920,1080)
- for(y=0;y<Math.PI*8;y+=1/15){
- z(y)
- }
- throw JSON.stringify(m.substring(0,24))+'\n'+JSON.stringify(n.substring(0,24))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement