+ Let's start with the good stuff: when we're talking about Bézier
+ curves, we're talking about the things that you can see in the
+ following graphics. They run from some start point to some end
+ point, with their curvature influenced by one or more "intermediate"
+ control points. Now, because all the graphics on this page are
+ interactive, go manipulate those curves a bit: click-drag the
+ points, and see how their shape changes based on what you do.
+
+ These curves are used a lot in computer aided design and computer
+ aided manufacturing (CAD/CAM) applications, as well as in graphic
+ design programs like Adobe Illustrator and Photoshop, Inkscape,
+ GIMP, etc. and in graphic technologies like scalable vector graphics
+ (SVG) and OpenType fonts (TTF/OTF). A lot of things use Bézier
+ curves, so if you want to learn more about them... prepare to get
+ your learn on!
+
+
+
+
So what makes a Bézier Curve?
+
+ Playing with the points for curves may have given you a feel for how
+ Bézier curves behave, but what are Bézier curves, really?
+ There are two ways to explain what a Bézier curve is, and they turn
+ out to be the entirely equivalent, but one of them uses complicated
+ maths, and the other uses really simple maths. So... let's start
+ with the simple explanation:
+
+
+ Bézier curves are the result of
+ linear interpolations. That sounds complicated but you've been doing linear
+ interpolation since you were very young: any time you had to point
+ at something between two other things, you've been applying linear
+ interpolation. It's simply "picking a point between two points".
+
+
+ If we know the distance between those two points, and we want a new
+ point that is, say, 20% the distance away from the first point (and
+ thus 80% the distance away from the second point) then we can
+ compute that really easily:
+
+
+
+ So let's look at that in action: the following graphic is
+ interactive in that you can use your up and down arrow keys to
+ increase or decrease the interpolation ratio, to see what happens.
+ We start with three points, which gives us two lines. Linear
+ interpolation over those lines gives us two points, between which we
+ can again perform linear interpolation, yielding a single point. And
+ that point —and all points we can form in this way for all ratios
+ taken together— form our Bézier curve:
+
And that brings us to the complicated maths: calculus.
+
+ While it doesn't look like that's what we've just done, we actually
+ just drew a quadratic curve, in steps, rather than in a single go.
+ One of the fascinating parts about Bézier curves is that they can
+ both be described in terms of polynomial functions, as well as in
+ terms of very simple interpolations of interpolations of [...].
+ That, in turn, means we can look at what these curves can do based
+ on both "real maths" (by examining the functions, their derivatives,
+ and all that stuff), as well as by looking at the "mechanical"
+ composition (which tells us, for instance, that a curve will never
+ extend beyond the points we used to construct it).
+
+
+ So let's start looking at Bézier curves a bit more in depth: their
+ mathematical expressions, the properties we can derive from them,
+ and the various things we can do to, and with, Bézier curves.
+
+
+
+
+
+
+
+
diff --git a/index.en-GB.html b/index.html
similarity index 97%
rename from index.en-GB.html
rename to index.html
index 6e3175c7..52d01a0e 100644
--- a/index.en-GB.html
+++ b/index.html
@@ -49,6 +49,12 @@
A free, online book for when you really need to know how to do Bézier
things.
+ Read this in your own language:
+
diff --git a/index.template.html b/index.template.html
index 0e2200a5..1c582cb4 100644
--- a/index.template.html
+++ b/index.template.html
@@ -8,6 +8,8 @@
A Primer on Bézier Curves
+ {{ base }}
+
@@ -37,6 +39,8 @@
A Primer on Bézier Curves
A free, online book for when you really need to know how to do Bézier things.
+ {{ langSwitchLabel }}
+
{{ langSwitcher }}
diff --git a/index.ja-JP.html b/ja-JP/index.html
similarity index 53%
rename from index.ja-JP.html
rename to ja-JP/index.html
index fce0b7a8..d21de875 100644
--- a/index.ja-JP.html
+++ b/ja-JP/index.html
@@ -7,6 +7,8 @@
A Primer on Bézier Curves
+
+
+ Read this in your own language:
+
+ Playing with the points for curves may have given you a feel for how
+ Bézier curves behave, but what are Bézier curves, really?
+ There are two ways to explain what a Bézier curve is, and they turn
+ out to be the entirely equivalent, but one of them uses complicated
+ maths, and the other uses really simple maths. So... let's start
+ with the simple explanation:
+
+
+ Bézier curves are the result of
+ linear interpolations. That sounds complicated but you've been doing linear
+ interpolation since you were very young: any time you had to point
+ at something between two other things, you've been applying linear
+ interpolation. It's simply "picking a point between two points".
+
+
+ If we know the distance between those two points, and we want a new
+ point that is, say, 20% the distance away from the first point (and
+ thus 80% the distance away from the second point) then we can
+ compute that really easily:
+
+
+
+ So let's look at that in action: the following graphic is
+ interactive in that you can use your up and down arrow keys to
+ increase or decrease the interpolation ratio, to see what happens.
+ We start with three points, which gives us two lines. Linear
+ interpolation over those lines gives us two points, between which we
+ can again perform linear interpolation, yielding a single point. And
+ that point —and all points we can form in this way for all ratios
+ taken together— form our Bézier curve:
+
+
+
+
+ JSがなくて、画像を表示しています。
+
+
+
+
And that brings us to the complicated maths: calculus.
+
+ While it doesn't look like that's what we've just done, we actually
+ just drew a quadratic curve, in steps, rather than in a single go.
+ One of the fascinating parts about Bézier curves is that they can
+ both be described in terms of polynomial functions, as well as in
+ terms of very simple interpolations of interpolations of [...].
+ That, in turn, means we can look at what these curves can do based
+ on both "real maths" (by examining the functions, their derivatives,
+ and all that stuff), as well as by looking at the "mechanical"
+ composition (which tells us, for instance, that a curve will never
+ extend beyond the points we used to construct it).
+
+
+ So let's start looking at Bézier curves a bit more in depth: their
+ mathematical expressions, the properties we can derive from them,
+ and the various things we can do to, and with, Bézier curves.
+
+ Playing with the points for curves may have given you a feel for how
+ Bézier curves behave, but what are Bézier curves, really?
+ There are two ways to explain what a Bézier curve is, and they turn
+ out to be the entirely equivalent, but one of them uses complicated
+ maths, and the other uses really simple maths. So... let's start
+ with the simple explanation:
+
+
+ Bézier curves are the result of
+ linear interpolations. That sounds complicated but you've been doing linear
+ interpolation since you were very young: any time you had to point
+ at something between two other things, you've been applying linear
+ interpolation. It's simply "picking a point between two points".
+
+
+ If we know the distance between those two points, and we want a new
+ point that is, say, 20% the distance away from the first point (and
+ thus 80% the distance away from the second point) then we can
+ compute that really easily:
+
+
+
+ So let's look at that in action: the following graphic is
+ interactive in that you can use your up and down arrow keys to
+ increase or decrease the interpolation ratio, to see what happens.
+ We start with three points, which gives us two lines. Linear
+ interpolation over those lines gives us two points, between which we
+ can again perform linear interpolation, yielding a single point. And
+ that point —and all points we can form in this way for all ratios
+ taken together— form our Bézier curve:
+
+
+
+
+ 脚本已禁用,并显示后备图像。
+
+
+
+
And that brings us to the complicated maths: calculus.
+
+ While it doesn't look like that's what we've just done, we actually
+ just drew a quadratic curve, in steps, rather than in a single go.
+ One of the fascinating parts about Bézier curves is that they can
+ both be described in terms of polynomial functions, as well as in
+ terms of very simple interpolations of interpolations of [...].
+ That, in turn, means we can look at what these curves can do based
+ on both "real maths" (by examining the functions, their derivatives,
+ and all that stuff), as well as by looking at the "mechanical"
+ composition (which tells us, for instance, that a curve will never
+ extend beyond the points we used to construct it).
+
+
+ So let's start looking at Bézier curves a bit more in depth: their
+ mathematical expressions, the properties we can derive from them,
+ and the various things we can do to, and with, Bézier curves.
+