1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-10 18:54:23 +02:00

rebuild + sections up to 14

This commit is contained in:
Pomax
2016-01-02 10:05:27 -08:00
parent 15523da391
commit c8ebcf29b9
31 changed files with 3079 additions and 94 deletions

View File

@@ -155,7 +155,7 @@ var Explanation = React.createClass({
<pre>function Bezier(n,t):
sum = 0
for(k=0; k&lt;n; k++):
for(k=0; k<n; k++):
sum += n!/(k!*(n-k)!) * (1-t)^(n-k) * t^(k)
return sum</pre>
@@ -195,7 +195,7 @@ binomial(n,k):
<pre>function Bezier(n,t):
sum = 0
for(k=0; k&lt;n; k++):
for(k=0; k<n; k++):
sum += binomial(n,k) * (1-t)^(n-k) * t^(k)
return sum</pre>