<\/div>\n <\/div>\n <\/div>\n<\/div>","!function(x){function K(a,b){b=b||0;ba.length
b.addEventListener(\"mousemove\", moveFunc);\nconst mouseUpFunc = () => b.removeEventListener(\"mousemove\", moveFunc);\nconst moveFunc = (e) => {\n\tlet x = e.pageX \/ window.innerWidth - 0.5;\n\tlet y = e.pageY \/ window.innerHeight - 0.5;\n\n\th.style.transform = `\n perspective(${400 * unit}vmin)\n rotateX(${y * 30 + 60}deg)\n rotateZ(${-x * 720 + 40}deg)\n translateZ(${-6 * unit}vmin)\n `;\n};\nconst playFunc = () => {\n\tcas.classList.toggle(\"is-radio-playing\");\n\ttsh.classList.toggle(\"is-tape-close\");\n\tbtn.classList.toggle(\"is-button-pressed\");\n\n\tsetTimeout(() => lgh.classList.toggle(\"is-wave-playing\"), 1000);\n\n\ta.loop = true;\n\tif (a.paused) {\n\t\ta.play();\n\t} else {\n\t\ta.pause();\n\t\ta.currentTime = 0;\n\t}\n};\n\/*****************\/\nh.addEventListener(\"mousedown\", mouseDownFunc);\nb.addEventListener(\"mouseup\", mouseUpFunc);\nbtn.addEventListener(\"click\", playFunc);\n"] 3D Player/Recorder - Designed by Guillaume Kurkdjian