1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-11 03:04:28 +02:00

section 15, 16

This commit is contained in:
Pomax
2016-01-02 11:27:23 -08:00
parent 28373e5321
commit 982d432da8
24 changed files with 1583 additions and 163 deletions

View File

@@ -3,8 +3,10 @@ var Graphic = require("../../Graphic.jsx");
var SectionHeader = require("../../SectionHeader.jsx");
var Control = React.createClass({
statics: {
title: "Controlling Bézier curvatures"
getDefaultProps: function() {
return {
title: "Controlling Bézier curvatures"
};
},
drawCubic: function(api) {
@@ -168,7 +170,7 @@ var Control = React.createClass({
render: function() {
return (
<section>
<SectionHeader {...this.props}>{ Control.title }</SectionHeader>
<SectionHeader {...this.props} />
<p>Bézier curves are (like all "splines") interpolation functions, meaning they take a set of
points, and generate values somewhere "between" those points. (One of the consequences of this