1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-22 16:23:12 +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 Flattening = React.createClass({
statics: {
title: "Simplified drawing"
getDefaultProps: function() {
return {
title: "Simplified drawing"
};
},
setupQuadratic: function(api) {
@@ -58,7 +60,7 @@ var Flattening = React.createClass({
render: function() {
return (
<section>
<SectionHeader {...this.props}>{ Flattening.title }</SectionHeader>
<SectionHeader {...this.props} />
<p>We can also simplify the drawing process by "sampling" the curve at certain points, and then joining those points up with straight lines, a process known as "flattening", as we are reducing a curve to a simple sequence of straight, "flat" lines.</p>