Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #9 from physiocoder/patch-1

Fix broken MDN link
  • Loading branch information...
commit 109623552ac1744f1ee072be67df56d9bbd1a935 2 parents a25108d + 4abf077
@kangax authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  _posts/2013-12-03-exploring-canvas-drawing-techniques.html
View
2  _posts/2013-12-03-exploring-canvas-drawing-techniques.html
@@ -100,7 +100,7 @@ <h3 id="simple-pencil">Simple pencil</h3>
<h3 id="smooth-connections">Smooth connections</h3>
- <p>Well, that's a start. Now, we can control the line thickness by changing value of <code>ctx.lineWidth</code>. However, with thick line comes <del>thick responsibility</del> jagged edges. This happens on "sharp turns" and can be solved by setting <code>ctx.lineJoin</code> and <code>ctx.lineCap</code> to "round" (see MDN for <a href="https://developer.mozilla.org/en-US/docs/HTML/Canvas/Tutorial/Applying_styles_and_colors#A_lineJoin_example">examples</a> of how these affect rendering).</p>
+ <p>Well, that's a start. Now, we can control the line thickness by changing value of <code>ctx.lineWidth</code>. However, with thick line comes <del>thick responsibility</del> jagged edges. This happens on "sharp turns" and can be solved by setting <code>ctx.lineJoin</code> and <code>ctx.lineCap</code> to "round" (see MDN for <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Canvas_tutorial/Applying_styles_and_colors#A_lineJoin_example">examples</a> of how these affect rendering).</p>
<pre class="codepen" data-height="360" data-type="result" data-href="nadDx" data-user="kangax" data-safe="true"><code></code><a href="http://codepen.io/kangax/pen/nadDx">Check out this Pen!</a></pre><p class="wordpress-sucks"><img src="/images/drawing_techniques/smooth_connections.png" class="example-img"></p>
Please sign in to comment.
Something went wrong with that request. Please try again.