Permalink
Browse files

Fix broken MDN link

And thanks for the amazing work on fabric.js :)
  • Loading branch information...
1 parent a25108d commit cad77c5853d98ec9b066a6b70327759daefa5605 @physiocoder physiocoder committed Apr 20, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 _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">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>

0 comments on commit cad77c5

Please sign in to comment.