Recaption! SVG Curve (Branch 7381)
✨ นายปิยะเชษฐ์ โตเทศ
<html> <head> <title>Let's Start </title> <style> body{ background:#333; margin:1em; font-family:sans-serif; } svg{ background:#eee; } </style> </head> <body> <svg viewBox="0 0 100 100"> <path fill="grey" stroke="black"; stroke-width="1" d="M50 40 q10 -10 4 0 q 3.5,6 30,0 h 10 q -15,9 -10,10 c -10,-2 -20,-3 -25,0 c -7,6 -7,7 -9,10 M50 40 q-10 -10 -4 0 q-3.5,6 -30,0 h -10 q 15,9 10,10 c 10,-2 20,-3 25,0 c 7,6 7,7 9,10 "/> <!-- Code Here --> <!-- Grid --> <defs> <pattern id="grid" viewBox="0,0,10,10" width="1%" height="1%"> <rect fill="#0001" width="1" height="10" x="1" y="0"/> <rect fill="#0001" width="1" height="10" x="3" y="0"/> <rect fill="#0001" width="1" height="10" x="5" y="0"/> <rect fill="#0001" width="1" height="10" x="7" y="0"/> <rect fill="#0001" width="1" height="10" x="9" y="0"/> <rect fill="#0001" width="10" height="1" x="0" y="1"/> <rect fill="#0001" width="10" height="1" x="0" y="3"/> <rect fill="#0001" width="10" height="1" x="0" y="5"/> <rect fill="#0001" width="10" height="1" x="0" y="7"/> <rect fill="#0001" width="10" height="1" x="0" y="9"/> <path d="M0 0 h10 L9 1 h-8 v8 L0 10 z" fill="#ff05"/> <path d="M10 10 h-10 L1 9 h8 v-8 L10 0 z" fill="#0f05"/> <rect fill="#0002" width="10" height=".1" x="0" y="9.9"/> <rect fill="#0002" width="10" height=".1" x="0" y="0"/> <rect fill="#0002" height="10" width=".1" y="0" x="9.9"/> <rect fill="#0002" height="10" width=".1" y="0" x="0"/> </pattern> </defs> <rect fill="url(#grid)" width="1000" height="1000" x="0" y="0" style="opacity:.5"/> </svg> <br> <br> <svg viewBox="0 0 100 100"> <path stroke-width="2" stroke="blue" d=" M00,70 q10,20 20,0 t 20,0 t 20,0 t 20,0 t 20,0 " > </path> <path fill="pink" stroke="deeppink" stroke-width="1" stroke-linecap="round" d="m30,10 c-10,20 10,20 0,0 " > </path> <path fill="pink" stroke="deeppink" stroke-width="1" stroke-linecap="round" d="m60,40 c-10,20 20,10 0,0 " > </path> <path fill="pink" stroke="deeppink" stroke-width="1" stroke-linecap="round" d="m40,80 c-20,0 0,10 0,0 " > </path> <path fill="pink" stroke="deeppink" stroke-width="1" stroke-linecap="round"> <animate attributeName="d" values=" m30,10 c-10,20 10,20 0,0; m60,40 c-10,20 20,10 0,0; m40,80 c-20,0 0,10 0,0 " dur="4s" repeatCount="indefinite" /> </path> <circle r="1" fill="red" cx="20" cy="70"/> <circle r="1" fill="purple" cx="80" cy="70"/> <circle r="1" fill="green" cx="50" cy="30"/> <circle r="1" fill="orange" cx="20" cy="30"/> <circle r="1" fill="deepskyblue" cx="80" cy="30"/> <!-- Grid --> <defs> <pattern id="grid" viewBox="0,0,10,10" width="1%" height="1%"> <rect fill="#0001" width="1" height="10" x="1" y="0"/> <rect fill="#0001" width="1" height="10" x="3" y="0"/> <rect fill="#0001" width="1" height="10" x="5" y="0"/> <rect fill="#0001" width="1" height="10" x="7" y="0"/> <rect fill="#0001" width="1" height="10" x="9" y="0"/> <rect fill="#0001" width="10" height="1" x="0" y="1"/> <rect fill="#0001" width="10" height="1" x="0" y="3"/> <rect fill="#0001" width="10" height="1" x="0" y="5"/> <rect fill="#0001" width="10" height="1" x="0" y="7"/> <rect fill="#0001" width="10" height="1" x="0" y="9"/> <path d="M0 0 h10 L9 1 h-8 v8 L0 10 z" fill="#ff05"/> <path d="M10 10 h-10 L1 9 h8 v-8 L10 0 z" fill="#0f05"/> <rect fill="#0002" width="10" height=".1" x="0" y="9.9"/> <rect fill="#0002" width="10" height=".1" x="0" y="0"/> <rect fill="#0002" height="10" width=".1" y="0" x="9.9"/> <rect fill="#0002" height="10" width=".1" y="0" x="0"/> </pattern> </defs> <rect fill="url(#grid)" width="1000" height="1000" x="0" y="0" style="opacity:.5"/> </svg> <br> <br> <svg viewBox="0 0 100 100"> <path stroke-width="2" stroke="blue" stroke-linecap="round" d=" M20,70 C20,30 80,30 80,70 s0 0 20 0 " > </path> <path stroke-width="2" stroke="blue" stroke-linecap="round" d=" M30,65 c-20,30 60,30 40,0 " > <animate attributeName="d" values=" M30,65 c-20,25 60,25 40,0; M30,65 c0,30 40,30 40,0; M30,65 c-20,25 60,25 40,0 " dur="1s" repeatCount="indefinite" /> </path> <circle r="1" fill="red" cx="20" cy="70"/> <circle r="1" fill="purple" cx="80" cy="70"/> <circle r="1" fill="green" cx="50" cy="30"/> <circle r="1" fill="orange" cx="20" cy="30"/> <circle r="1" fill="deepskyblue" cx="80" cy="30"/> <!-- Grid --> <defs> <pattern id="grid" viewBox="0,0,10,10" width="1%" height="1%"> <rect fill="#0001" width="1" height="10" x="1" y="0"/> <rect fill="#0001" width="1" height="10" x="3" y="0"/> <rect fill="#0001" width="1" height="10" x="5" y="0"/> <rect fill="#0001" width="1" height="10" x="7" y="0"/> <rect fill="#0001" width="1" height="10" x="9" y="0"/> <rect fill="#0001" width="10" height="1" x="0" y="1"/> <rect fill="#0001" width="10" height="1" x="0" y="3"/> <rect fill="#0001" width="10" height="1" x="0" y="5"/> <rect fill="#0001" width="10" height="1" x="0" y="7"/> <rect fill="#0001" width="10" height="1" x="0" y="9"/> <path d="M0 0 h10 L9 1 h-8 v8 L0 10 z" fill="#ff05"/> <path d="M10 10 h-10 L1 9 h8 v-8 L10 0 z" fill="#0f05"/> <rect fill="#0002" width="10" height=".1" x="0" y="9.9"/> <rect fill="#0002" width="10" height=".1" x="0" y="0"/> <rect fill="#0002" height="10" width=".1" y="0" x="9.9"/> <rect fill="#0002" height="10" width=".1" y="0" x="0"/> </pattern> </defs> <rect fill="url(#grid)" width="1000" height="1000" x="0" y="0" style="opacity:.5"/> </svg> </body> </html>