1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-09-02 12:54:23 +02:00
This commit is contained in:
Pomax
2017-02-16 07:56:26 -08:00
parent 506cb6a5d9
commit 970fc9465b
5 changed files with 6 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.9 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -682,7 +682,7 @@ function drawCurve(points[], t):
1 & t & t^2
\end{bmatrix}
\cdot
\underset{we\ turn\ handler...}{\underbrace{\kern 2.25em Z \cdot M \kern 2.25em}}
\underset{we\ turn\ this...}{\underbrace{\kern 2.25em Z \cdot M \kern 2.25em}}
\cdot
\begin{bmatrix}
P_1 \\ P_2 \\ P_3
@@ -695,7 +695,7 @@ function drawCurve(points[], t):
1 & t & t^2
\end{bmatrix}
\cdot
\underset{...into\ handler...}{\underbrace{ M \cdot M^{-1} \cdot Z \cdot M }}
\underset{...into\ this...}{\underbrace{ M \cdot M^{-1} \cdot Z \cdot M }}
\cdot
\begin{bmatrix}
P_1 \\ P_2 \\ P_3

View File

@@ -197,7 +197,7 @@ sections.forEach((cname, number) => {
// Now, form a JSX resource for this locale.
var bcode = JSON.stringify(content, false, 2);
bcode = bcode.replace(/"<section>/g, "function(handler) { return <section>")
.replace(/this\./g, "handler.")
.replace(/this\.(\w)/g, "handler.$1")
.replace(/<\/section>"(,?)/g, "</section>; }$1\n")
.replace(/\\"/g,'"')
.replace(/\\n/g,'\n')