Skip to content
Browse files

Exact page position on MDN page, sorry

  • Loading branch information...
1 parent cad77c5 commit 4abf07752c384e318f4f201ec586b4475fbc2cc9 @physiocoder physiocoder committed
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/Web/Guide/HTML/Canvas_tutorial/Applying_styles_and_colors">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>

0 comments on commit 4abf077

Please sign in to comment.
Something went wrong with that request. Please try again.