Hello World! (Copy 8215) (Copy 8261)
✨ elzaphaN TV
<html> <head> <title>ฟ้า พุทธิมา เดชดำนิล (63070127)</title> </head> <style> body{ animation:bg 10s linear infinite alternate; margin:0;} @keyframes bg{ 0%{background: hsl(0, 50%, 80%)} 10%{background: hsl(70, 50%, 80%)} 30%{background: hsl(90, 50%, 80%)} 60%{background: hsl(120, 50%, 80%)} 90%{background: hsl(180, 50%, 80%)} 100%{background: hsl(250, 50%, 80%)} } svg{ width:100%; } path, rect{ transform: 1s; } </style> <body> <!-- เรฟ --> <!-- https://imgur.com/a/vSrVlWT --> <svg viewBox="0 0 100 100"> <g class="Mosaic" onclick="change()"> <rect x="10" y="8" width="80" height="80" fill="hsl(49,100%, 50%)" id="a88"/> <path d="M31 30 L 30 22 L 26 22 L 31 30 " fill="hsl(208,7%,45%)" id="a1"/> <path d="M 26 22 L 33 15 L 31 22 L 26 22" fill="hsl(208,7%,56%)" id="a2" /> <path d="M31 20 L 30 22 L 41 15 L33 15" fill="hsl(210,11%,70%)" id="a3" /> <path d="M 25 33 L 26 22 L 31 30 L 25 33" fill="hsl(208,7%,50%)" id="a4"/> <path d="M 30 22 L 44 24 L 41 15 L 30 22" fill="hsl(210,14%,79%)" id="a5"/> <path d=" M 44 24 L 48 20 L 45 15 L 42 18 L 44 24" fill="hsl(210,11%,65%)"id="a6" /> <path d="M 34 9 L 31 17 L 33 15 L 33 15 L34 9" fill="hsl(210,14%,50%)"id="a99" /> <path d=" M 41 15 L 43 9 L 42 18 L 41 15" fill="hsl(210,14%,79%)" id="a7"/> <!-- มิติหู --> <path d="M 43 9 L 45 15 L 42 18 L 43 9" fill="hsl(210,10%,50%)" id="a8" /> <path d="M 35 15 L 34 9 L 33 15 L 35 15" fill="hsl(210,11%,35%)" id="a9"/> <!-- --> <!-- เงาตัว --> <path d="M 53 45 L 74 52 C 67 56 56 58 42 58 " fill="black" id="z1"/> <path d="M 73 52 L 52 45 C 78 39 85 47 74 52" fill="black" id="z2"/> <!-- --> <path d="M 31 30 L 44 24 L 30 22 L31 30" fill="hsl(210,11%,75%)" id="a12"/> <path d="M 31 30 L 44 35 L 44 24 L31 30" fill="hsl(210,11%,71%)" id="a13" /> <path d="M 44 24 L 50 32 L 44 35 L44 24" fill="hsl(208,7%,46%)" id="a14"/> <path d="M 50 32 L 52 26 L 48 20 L 44 24 L50 32" fill="hsl(210,9%,39%)"id="a15"/> <path d="M 50 32 L 54 33 L 52 26 L 50 32" fill="hsl(210,9%,21%)" id="a16"/> <path d="M 50 32 L 56 37 L 54 33 L 50 32" fill="hsl(210,10%,30%)" id="a17"/> <path d="M 56 37 L 52 37 L 50 32 L56 37" fill="hsl(210,10%,40%)" id="a18"/> <path d="M 52 37 L 44 35 L 50 32 L52 37" fill="hsl(210,8%,57%)" id="a19"/> <path d="M 56 37 L 59 46 L 52 37 L56 37" fill="hsl(210,9%,31%)" id="a20"/> <path d="M 52 37 L 53 47 L 59 46 L52 37" fill="hsl(210,11%,71%)" id="a21"/> <path d="M 52 37 L 46 44 L 53 47 L52 37" fill="hsl(208,14%,49%)" id="a22"/> <path d="M 44 35 L 46 44 L 52 37 L44 35" fill="hsl(210,8%,65%)" id="a23"/> <path d="M 46 44 L 33 43 L 44 35 L46 44" fill="hsl(210,14%,89%)" id="a24"/> <path d=" M 33 43 L 31 30 L 44 35 L33 43" fill="hsl(210,17%,98%)" id="a25"/> <path d=" M 33 43 L 23 40 L 31 30 L33 43" fill="hsl(210,16%,93%)" id="a26"/> <path d=" M 25 33 L 23 40 L 31 30 L25 33" fill="hsl(210,11%,71%)" id="a27"/> <path d="M 23 40 L 24 47 L 32 48 L 33 43 L23 40" fill="hsl(210,14%,89%)" id="a28" /> <path d="M 32 48 L 42 53 L 46 44 L 33 43 L 32 48 " fill="hsl(210,14%,83%)" id="a29"/> <path d=" M 42 53 L 46 44 L 53 47 L 42 53" fill="hsl(208,14%,40%)" id="a30" /> <path d=" M 53 47 L 51 56 L 42 53 L 53 47" fill="hsl(210,11%,70%)" id="a31"/> <path d="M 26 49 L 23 52 L 24 55 l 6 -1 L 26 49" fill="hsl(210,11%,71%)"id="a39" /> <path d=" M 51 56 L 57 46 L 53 47 L 51 56" fill="hsl(210,4%,31%)" id="a32" /> <path d="M 51 56 L 58 52 L 59 46 L 57 46 L 51 56" fill="hsl(210,10%,23%)" id="a33" /> <path d="M 42 53 L 41 58 L 51 56 L 42 53" fill="hsl(208,7%,46%)" id="a98"/> <path d="M 42 53 L 39 56 L 41 58 L 42 53" fill="hsl(210,11%,71%)" id="a35"/> <path d="M 42 53 L 31 56 L 39 56 L 42 53 L 32 48" fill="hsl(208,7%,46%)" id="a36"/> <path d="M 42 53 L 42 53 L 31 56 L 32 48 L42 53" fill="hsl(210,11%,71%)"id="a37" /> <path d=" M 31 56 L 24 47 L 32 48 L 31 56" fill="hsl(210,14%,83%)"id="a38" /> <path d="M 23 52 L 21 51 L 22 55 L 24 55 L 23 52" fill="hsl(208,7%,46%)" id="a40" /> <path d=" M 41 56 L 39 58 L 43 58 L 41 56" fill="hsl(208,7%,43%)" id="a41"/> t <rect x="13.5" y="64" width="3.5" height="11" fill="black"> <animate attributeName="fill" values="red;blue;red" dur="12s" repeatCount="indefinite" /> </rect> <rect x="10" y="61.5" width="11" height="4"fill="black"> <animate attributeName="fill" values="red;blue;red" dur="12s" repeatCount="indefinite" /> </rect> o <rect x="23" y="61.5" width="11" height="13"fill="black"> <animate attributeName="fill" values="red;blue;red" dur="12s" repeatCount="indefinite" /> </rect> <rect x="26" y="65.5" width="5" height="5" fill="hsl(49,100%, 50%" id="t1"/> t <rect x="39.5" y="64" width="3.5" height="11"fill="black"> <animate attributeName="fill" values="red;blue;red" dur="12s" repeatCount="indefinite" /> </rect> <rect x="36" y="61.5" width="11" height="4"fill="black"> <animate attributeName="fill" values="red;blue;red" dur="12s" repeatCount="indefinite" /> </rect> o <rect x="49" y="61.5" width="11" height="13"fill="black"> <animate attributeName="fill" values="red;blue;red" dur="12s" repeatCount="indefinite" /> </rect> <rect x="52" y="65.5" width="5" height="5" fill="hsl(49,100%, 50%" id="t2"/> r <rect x="64" y="61.5" width="3.5" height="13.5"fill="black"> <animate attributeName="fill" values="red;blue;red" dur="12s" repeatCount="indefinite" /> </rect> <rect x="64" y="61.5" width="10" height="4"fill="black"> <animate attributeName="fill" values="red;blue;red" dur="12s" repeatCount="indefinite" /> </rect> <rect x="64" y="67.4" width="10" height="3"fill="black"> <animate attributeName="fill" values="red;blue;red" dur="12s" repeatCount="indefinite" /> </rect> <rect x="73" y="61.5" width="3" height="8.9"fill="black"> <animate attributeName="fill" values="red;blue;red" dur="12s" repeatCount="indefinite" /> </rect> <rect x="70.5" y="70" width="3.5" height="5"fill="black"> <animate attributeName="fill" values="red;blue;red" dur="12s" repeatCount="indefinite" /> </rect> o <rect x="79" y="61.5" width="11" height="13"> <animate attributeName="fill" values="red;blue;red" dur="12s" repeatCount="indefinite" /> </rect> <rect x="82.5" y="65.5" width="5" height="5" fill="hsl(49,100%, 50%)" id="t3"/> </g> </svg> </body> <script> function change(){ var x= Math.floor(Math.random() * 360); t1.style.fill = `hsl(${x},100%, 54%)` t2.style.fill = `hsl(${x},100%, 54%)` t3.style.fill = `hsl(${x},100%, 54%)` z1.style.fill = `white` z2.style.fill = `white` a1.style.fill = `hsl(${x}, 100%, 45%)` a2.style.fill = `hsl(${x}, 100%, 56%)` a3.style.fill = `hsl(${x}, 100%, 70%)` a4.style.fill = `hsl(${x}, 100%, 100%)` a5.style.fill = `hsl(${x}, 100%, 79%)` a6.style.fill = `hsl(${x}, 100%, 65%)` a7.style.fill = `hsl(${x}, 100%, 79%)` a8.style.fill = `hsl(${x}, 100%, 50%)` a9.style.fill = `hsl(${x}, 100%, 35%)` a12.style.fill = `hsl(${x}, 100%, 75%)` a13.style.fill = `hsl(${x}, 100%, 71%)` a14.style.fill = `hsl(${x}, 100%, 46%)` a15.style.fill = `hsl(${x}, 100%, 39%)` a16.style.fill = `hsl(${x}, 100%, 21%)` a17.style.fill = `hsl(${x}, 100%, 30%)` a18.style.fill = `hsl(${x}, 100%, 40%)` a19.style.fill = `hsl(${x}, 100%, 57%)` a20.style.fill = `hsl(${x}, 100%, 31%)` a21.style.fill = `hsl(${x}, 100%, 71%)` a22.style.fill = `hsl(${x}, 100%, 49%)` a23.style.fill = `hsl(${x}, 100%, 65%)` a24.style.fill = `hsl(${x}, 100%, 89%)` a25.style.fill = `hsl(${x}, 100%, 98%)` a26.style.fill = `hsl(${x}, 100%, 93%)` a27.style.fill = `hsl(${x}, 100%, 17%)` a28.style.fill = `hsl(${x}, 100%, 89%)` a29.style.fill = `hsl(${x}, 100%, 83%)` a30.style.fill = `hsl(${x}, 100%, 40%)` a31.style.fill = `hsl(${x}, 100%, 70%)` a32.style.fill = `hsl(${x}, 100%, 31%)` a33.style.fill = `hsl(${x}, 100%, 23%)` a35.style.fill = `hsl(${x}, 100%, 71%)` a36.style.fill = `hsl(${x}, 100%, 46%)` a37.style.fill = `hsl(${x}, 100%, 71%)` a38.style.fill = `hsl(${x}, 100%, 83%)` a39.style.fill = `hsl(${x}, 100%, 71%)` a40.style.fill = `hsl(${x}, 100%, 46%)` a41.style.fill = `hsl(${x}, 100%, 43%)` a98.style.fill = `hsl(${x}, 100%, 46%)` a99.style.fill = `hsl(${x}, 100%, 50%)` a88.style.fill = `hsl(14,100%, 54%)` } </script> </html>