mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-09-01 20:33:34 +02:00
rebuild
This commit is contained in:
898
docs/index.html
generated
898
docs/index.html
generated
File diff suppressed because it is too large
Load Diff
4
docs/ja-JP/index.html
generated
4
docs/ja-JP/index.html
generated
@@ -41,7 +41,7 @@
|
|||||||
<meta property="og:locale" content="ja-JP" />
|
<meta property="og:locale" content="ja-JP" />
|
||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:published_time" content="2013-06-13T12:00:00+00:00" />
|
<meta property="og:published_time" content="2013-06-13T12:00:00+00:00" />
|
||||||
<meta property="og:updated_time" content="2023-06-05T00:41:07+00:00" />
|
<meta property="og:updated_time" content="2023-07-24T16:16:38+00:00" />
|
||||||
<meta property="og:author" content="Mike 'Pomax' Kamermans" />
|
<meta property="og:author" content="Mike 'Pomax' Kamermans" />
|
||||||
<meta property="og:section" content="Bézier Curves" />
|
<meta property="og:section" content="Bézier Curves" />
|
||||||
<meta property="og:tag" content="Bézier Curves" />
|
<meta property="og:tag" content="Bézier Curves" />
|
||||||
@@ -194,7 +194,7 @@
|
|||||||
|
|
||||||
<br style="clear: both;" />
|
<br style="clear: both;" />
|
||||||
|
|
||||||
<p>— <a href="https://twitter.com/TheRealPomax">Pomax</a></p>
|
<p>— <a href="https://mastodon.social/@TheRealPomax">Pomax</a></p>
|
||||||
<noscript>
|
<noscript>
|
||||||
<div class="note">
|
<div class="note">
|
||||||
<header>
|
<header>
|
||||||
|
898
docs/ko-KR/index.html
generated
898
docs/ko-KR/index.html
generated
File diff suppressed because it is too large
Load Diff
@@ -33,8 +33,8 @@
|
|||||||
<meta property="og:description" content="Rewriting the tech stack" />
|
<meta property="og:description" content="Rewriting the tech stack" />
|
||||||
<meta property="og:locale" content="en-GB" />
|
<meta property="og:locale" content="en-GB" />
|
||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:published_time" content="Fri Sep 18 2020 00:00:00 +00:00" />
|
<meta property="og:published_time" content="Thu Sep 17 2020 17:00:00 +00:00" />
|
||||||
<meta property="og:updated_time" content="Mon Jun 05 2023 00:41:07 +00:00" />
|
<meta property="og:updated_time" content="Mon Jul 24 2023 09:16:38 +00:00" />
|
||||||
<meta property="og:author" content="Mike 'Pomax' Kamermans" />
|
<meta property="og:author" content="Mike 'Pomax' Kamermans" />
|
||||||
<meta property="og:section" content="Bézier Curves" />
|
<meta property="og:section" content="Bézier Curves" />
|
||||||
<meta property="og:tag" content="Bézier Curves" />
|
<meta property="og:tag" content="Bézier Curves" />
|
||||||
@@ -176,15 +176,15 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
__ n=3 n-k k
|
__ n=3 n-k k
|
||||||
B(t) = ❯ \ P \binomnk(1-t) t
|
B(t) = ❯ \ P \binomnk(1-t) t
|
||||||
cubic ‾‾ k=0
|
cubic ‾‾ k=0
|
||||||
k
|
k
|
||||||
|
|
||||||
3 2 2 3
|
3 2 2 3
|
||||||
= P (1-t) + 3 P (1-t) t + 3P (1-t)t + P t
|
= P (1-t) + 3 P (1-t) t + 3P (1-t)t + P t
|
||||||
|
|
||||||
0 1 2 3
|
0 1 2 3
|
||||||
-->
|
-->
|
||||||
<img class="LaTeX SVG" src="./images/news/2020-09-18.html/15225da473048d8c7b5b473b89de0b66.svg" width="401px" height="97px" loading="lazy" />
|
<img class="LaTeX SVG" src="./images/news/2020-09-18.html/15225da473048d8c7b5b473b89de0b66.svg" width="401px" height="97px" loading="lazy" />
|
||||||
@@ -271,7 +271,7 @@ draw() {
|
|||||||
<a href="https://github.com/Pomax/BezierInfo-2/issues">you know where to go</a>.
|
<a href="https://github.com/Pomax/BezierInfo-2/issues">you know where to go</a>.
|
||||||
</p>
|
</p>
|
||||||
<p>See you in the next post!</p>
|
<p>See you in the next post!</p>
|
||||||
<p>— <a href="https://mastodon.social/@TheRealPomaxTheRealPomax">Pomax</a></p>
|
<p>— <a href="https://mastodon.social/@TheRealPomax">Pomax</a></p>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
@@ -33,8 +33,8 @@
|
|||||||
<meta property="og:description" content="Curve-circle intersections" />
|
<meta property="og:description" content="Curve-circle intersections" />
|
||||||
<meta property="og:locale" content="en-GB" />
|
<meta property="og:locale" content="en-GB" />
|
||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:published_time" content="Sun Nov 22 2020 00:00:00 +00:00" />
|
<meta property="og:published_time" content="Sat Nov 21 2020 16:00:00 +00:00" />
|
||||||
<meta property="og:updated_time" content="Mon Jun 05 2023 00:41:07 +00:00" />
|
<meta property="og:updated_time" content="Mon Jul 24 2023 09:16:38 +00:00" />
|
||||||
<meta property="og:author" content="Mike 'Pomax' Kamermans" />
|
<meta property="og:author" content="Mike 'Pomax' Kamermans" />
|
||||||
<meta property="og:section" content="Bézier Curves" />
|
<meta property="og:section" content="Bézier Curves" />
|
||||||
<meta property="og:tag" content="Bézier Curves" />
|
<meta property="og:tag" content="Bézier Curves" />
|
||||||
|
2
docs/news/index.html
generated
2
docs/news/index.html
generated
@@ -33,7 +33,7 @@
|
|||||||
<meta property="og:description" content="" />
|
<meta property="og:description" content="" />
|
||||||
<meta property="og:locale" content="en-GB" />
|
<meta property="og:locale" content="en-GB" />
|
||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:published_time" content="Mon Jun 05 2023 00:41:07 GMT+0000 (Coordinated Universal Time)" />
|
<meta property="og:published_time" content="Mon Jul 24 2023 09:16:38 GMT-0700 (Pacific Daylight Time)" />
|
||||||
<meta property="og:updated_time" content="" />
|
<meta property="og:updated_time" content="" />
|
||||||
<meta property="og:author" content="Mike 'Pomax' Kamermans" />
|
<meta property="og:author" content="Mike 'Pomax' Kamermans" />
|
||||||
<meta property="og:section" content="Bézier Curves" />
|
<meta property="og:section" content="Bézier Curves" />
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
<atom:link href="https://pomax.github.io/bezierinfo" rel="self"></atom:link>
|
<atom:link href="https://pomax.github.io/bezierinfo" rel="self"></atom:link>
|
||||||
<description>News updates for the <a href="https://pomax.github.io/bezierinfo">primer on Bézier Curves</a> by Pomax</description>
|
<description>News updates for the <a href="https://pomax.github.io/bezierinfo">primer on Bézier Curves</a> by Pomax</description>
|
||||||
<language>en-GB</language>
|
<language>en-GB</language>
|
||||||
<lastBuildDate>Mon Jun 05 2023 00:41:07 +00:00</lastBuildDate>
|
<lastBuildDate>Mon Jul 24 2023 09:16:38 +00:00</lastBuildDate>
|
||||||
<image>
|
<image>
|
||||||
<url>https://pomax.github.io/bezierinfo/images/og-image.png</url>
|
<url>https://pomax.github.io/bezierinfo/images/og-image.png</url>
|
||||||
<title>A Primer on Bézier Curves</title>
|
<title>A Primer on Bézier Curves</title>
|
||||||
@@ -17,19 +17,19 @@
|
|||||||
<title>Curve-circle intersections</title>
|
<title>Curve-circle intersections</title>
|
||||||
<link>https://pomax.github.io/bezierinfo/news/2020-11-22.html</link>
|
<link>https://pomax.github.io/bezierinfo/news/2020-11-22.html</link>
|
||||||
<description>
|
<description>
|
||||||
|
|
||||||
<p>While the primer covered line/line, line/curve, and curve/curve intersections, there was one other obvious intersection conspicuously missing: circle/curve intersections. You'd think those were just an extension on the maths used for the other three, but unfortunately, this is not the case. Rather than using calculus, the only real way to determine where a polynomial curve intersects it is to sample the curve at a resolution high enough to find you intervals on the curve where there likely is an intersection, then refining that interval until you find actual intersections.</p>
|
<p>While the primer covered line/line, line/curve, and curve/curve intersections, there was one other obvious intersection conspicuously missing: circle/curve intersections. You'd think those were just an extension on the maths used for the other three, but unfortunately, this is not the case. Rather than using calculus, the only real way to determine where a polynomial curve intersects it is to sample the curve at a resolution high enough to find you intervals on the curve where there likely is an intersection, then refining that interval until you find actual intersections.</p>
|
||||||
<p>It is, in fact, rather similar to <a href="https://pomax.github.io/bezierinfo/#projections">projecting a point onto a bezier curve</a> where the point is the circle's center, and where the projection distance actually needs to match the circle radius, so: <a href="https://pomax.github.io/bezierinfo/#circleintersection">let's see how to do that</a>!</p>
|
<p>It is, in fact, rather similar to <a href="https://pomax.github.io/bezierinfo/#projections">projecting a point onto a bezier curve</a> where the point is the circle's center, and where the projection distance actually needs to match the circle radius, so: <a href="https://pomax.github.io/bezierinfo/#circleintersection">let's see how to do that</a>!</p>
|
||||||
<p>— <a href="https://mastodon.social/@TheRealPomax">Pomax</a></p>
|
<p>— <a href="https://mastodon.social/@TheRealPomax">Pomax</a></p>
|
||||||
|
|
||||||
</description>
|
</description>
|
||||||
<pubDate>Sun Nov 22 2020 00:00:00 +00:00</pubDate>
|
<pubDate>Sat Nov 21 2020 16:00:00 +00:00</pubDate>
|
||||||
<guid>2020-11-22.html</guid>
|
<guid>2020-11-22.html</guid>
|
||||||
</item><item>
|
</item><item>
|
||||||
<title>Rewriting the tech stack</title>
|
<title>Rewriting the tech stack</title>
|
||||||
<link>https://pomax.github.io/bezierinfo/news/2020-09-18.html</link>
|
<link>https://pomax.github.io/bezierinfo/news/2020-09-18.html</link>
|
||||||
<description>
|
<description>
|
||||||
|
|
||||||
<p>Once upon a time, I needed to draw some Bezier curves because I was trying to create a Japanese kanji composition system that turned strokes into outlines, and that required knowing how to offset Bezier curves and... at the time (2011, time flies) there was no good single source of information for Bezier curves on the web. So I made one. Sure it started small, but it turns out that if you just keep adding bits to something, several years later you have quite the monster, and a single HTML file becomes intractible.</p>
|
<p>Once upon a time, I needed to draw some Bezier curves because I was trying to create a Japanese kanji composition system that turned strokes into outlines, and that required knowing how to offset Bezier curves and... at the time (2011, time flies) there was no good single source of information for Bezier curves on the web. So I made one. Sure it started small, but it turns out that if you just keep adding bits to something, several years later you have quite the monster, and a single HTML file becomes intractible.</p>
|
||||||
<p>So, in 2016, when <a href="https://reactjs.org/">React.js</a> exploded onto the scene, I rewrote the primer as a React app, and it became a lot easier to maintain. Like, <em>a lot</em> a lot. However, there was a downside: no JS meant no content. Sure, server-side rendering sort of existed, but not really, and because the Primer is hosted through github, there was no "server" to run. Plus, trying to rehydrate an app the size of the Primer from a giant HTML file had truly <em>dire</em> performance.</p>
|
<p>So, in 2016, when <a href="https://reactjs.org/">React.js</a> exploded onto the scene, I rewrote the primer as a React app, and it became a lot easier to maintain. Like, <em>a lot</em> a lot. However, there was a downside: no JS meant no content. Sure, server-side rendering sort of existed, but not really, and because the Primer is hosted through github, there was no "server" to run. Plus, trying to rehydrate an app the size of the Primer from a giant HTML file had truly <em>dire</em> performance.</p>
|
||||||
<p>So I left it a regular React app, and every time I thought "wouldn't it be nice if it was just... a web page again?" the browser landscape just hadn't caught up. Finally, in 2020, things are different: with a global pandemic, and some vacation time, and something random causing me to look up the state of HTML custom elements, everything was pointing at it being time to finally, <em>finally</em>, turn the Primer back into a normal web page.</p>
|
<p>So I left it a regular React app, and every time I thought "wouldn't it be nice if it was just... a web page again?" the browser landscape just hadn't caught up. Finally, in 2020, things are different: with a global pandemic, and some vacation time, and something random causing me to look up the state of HTML custom elements, everything was pointing at it being time to finally, <em>finally</em>, turn the Primer back into a normal web page.</p>
|
||||||
@@ -57,15 +57,15 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
__ n=3 n-k k
|
__ n=3 n-k k
|
||||||
B(t) = ❯ \ P \binomnk(1-t) t
|
B(t) = ❯ \ P \binomnk(1-t) t
|
||||||
cubic ‾‾ k=0
|
cubic ‾‾ k=0
|
||||||
k
|
k
|
||||||
|
|
||||||
3 2 2 3
|
3 2 2 3
|
||||||
= P (1-t) + 3 P (1-t) t + 3P (1-t)t + P t
|
= P (1-t) + 3 P (1-t) t + 3P (1-t)t + P t
|
||||||
|
|
||||||
0 1 2 3
|
0 1 2 3
|
||||||
-->
|
-->
|
||||||
<img class="LaTeX SVG" src="./images/news/2020-09-18.html/15225da473048d8c7b5b473b89de0b66.svg" width="401px" height="97px" loading="lazy">
|
<img class="LaTeX SVG" src="./images/news/2020-09-18.html/15225da473048d8c7b5b473b89de0b66.svg" width="401px" height="97px" loading="lazy">
|
||||||
@@ -105,7 +105,7 @@ draw() {
|
|||||||
<tr><td>11</td></tr>
|
<tr><td>11</td></tr>
|
||||||
<tr><td>12</td></tr>
|
<tr><td>12</td></tr>
|
||||||
<tr><td>13</td></tr></table>
|
<tr><td>13</td></tr></table>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Responsive CSS, so the content intelligently reflows where possible.</li>
|
<li>Responsive CSS, so the content intelligently reflows where possible.</li>
|
||||||
<li>A "Live build" setup for working on the content and code.</li>
|
<li>A "Live build" setup for working on the content and code.</li>
|
||||||
@@ -118,7 +118,7 @@ draw() {
|
|||||||
<p>— <a href="https://mastodon.social/@TheRealPomax">Pomax</a></p>
|
<p>— <a href="https://mastodon.social/@TheRealPomax">Pomax</a></p>
|
||||||
|
|
||||||
</description>
|
</description>
|
||||||
<pubDate>Fri Sep 18 2020 00:00:00 +00:00</pubDate>
|
<pubDate>Thu Sep 17 2020 17:00:00 +00:00</pubDate>
|
||||||
<guid>2020-09-18.html</guid>
|
<guid>2020-09-18.html</guid>
|
||||||
</item>
|
</item>
|
||||||
</channel>
|
</channel>
|
||||||
|
898
docs/ru-RU/index.html
generated
898
docs/ru-RU/index.html
generated
File diff suppressed because it is too large
Load Diff
898
docs/uk-UA/index.html
generated
898
docs/uk-UA/index.html
generated
File diff suppressed because it is too large
Load Diff
1466
docs/zh-CN/index.html
generated
1466
docs/zh-CN/index.html
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user