Skip to main content
added 15 characters in body
Source Link

HTML + Javascript, 9798

JavaScript: 8485, HTML: 13

r=100;CF=r=>{C.width=C.height=r*2+16;c=C.getContext`2d`;c.arc(r+8,r+8,r,0,6.283);c.stroke()}

F(100)
<canvas id=C>

To change r, change r=100 to r=/*place your value here*/.

HTML + Javascript, 97

JavaScript: 84, HTML: 13

r=100;C.width=C.height=r*2+16;c=C.getContext`2d`;c.arc(r+8,r+8,r,0,6.283);c.stroke()
<canvas id=C>

To change r, change r=100 to r=/*place your value here*/.

HTML + Javascript, 98

JavaScript: 85, HTML: 13

F=r=>{C.width=C.height=r*2+16;c=C.getContext`2d`;c.arc(r+8,r+8,r,0,6.283);c.stroke()}

F(100)
<canvas id=C>

To change r, change r=100 to r=/*place your value here*/.

Fixed: Now has 5 pixel padding.
Source Link

HTML + Javascript, 9697

JavaScript: 8384, HTML: 13

r=100;C.width=C.height=r*2+2;c=Cheight=r*2+16;c=C.getContext`2d`;c.arc(r+1r+8,r+1r+8,r,0,6.283);c.stroke()
<canvas id=C>

To change r, change r=100 to r=/*place your value here*/.

HTML + Javascript, 96

JavaScript: 83, HTML: 13

r=100;C.width=C.height=r*2+2;c=C.getContext`2d`;c.arc(r+1,r+1,r,0,6.283);c.stroke()
<canvas id=C>

To change r, change r=100 to r=/*place your value here*/.

HTML + Javascript, 97

JavaScript: 84, HTML: 13

r=100;C.width=C.height=r*2+16;c=C.getContext`2d`;c.arc(r+8,r+8,r,0,6.283);c.stroke()
<canvas id=C>

To change r, change r=100 to r=/*place your value here*/.

Source Link

HTML + Javascript, 96

JavaScript: 83, HTML: 13

r=100;C.width=C.height=r*2+2;c=C.getContext`2d`;c.arc(r+1,r+1,r,0,6.283);c.stroke()
<canvas id=C>

To change r, change r=100 to r=/*place your value here*/.