1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-12 19:54:31 +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 PointVectors = React.createClass({
statics: {
title: "Tangents and normals"
getDefaultProps: function() {
return {
title: "Tangents and normals"
};
},
setupQuadratic: function(api) {
@@ -41,7 +43,7 @@ var PointVectors = React.createClass({
render: function() {
return (
<section>
<SectionHeader {...this.props}>{ PointVectors.title }</SectionHeader>
<SectionHeader {...this.props} />
<p>If you want to move objects along a curve, or "away from" a curve, the two vectors you're most interested
in are the tangent vector and normal vector for curve points. These are actually really easy to find. For