[Patchanim-commit] SF.net SVN: patchanim: [45] trunk/patchanim/htdocs
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-01-28 02:19:40
|
Revision: 45
http://patchanim.svn.sourceforge.net/patchanim/?rev=45&view=rev
Author: dbrosius
Date: 2008-01-27 18:19:44 -0800 (Sun, 27 Jan 2008)
Log Message:
-----------
document bezier use
Modified Paths:
--------------
trunk/patchanim/htdocs/index.html
Added Paths:
-----------
trunk/patchanim/htdocs/bezier.jpg
Added: trunk/patchanim/htdocs/bezier.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/patchanim/htdocs/bezier.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/patchanim/htdocs/index.html
===================================================================
--- trunk/patchanim/htdocs/index.html 2008-01-28 01:47:53 UTC (rev 44)
+++ trunk/patchanim/htdocs/index.html 2008-01-28 02:19:44 UTC (rev 45)
@@ -19,6 +19,21 @@
There are three patches available to tailor, one for red, green and blue. These three patches are
combined into one blend. A series of these patches can be created, and then the software creates a tween
between them to get a nicely continuous animated blend.</p>
+
+ <p>A Cubic Bezier <b>curve</b> is a curve defined by 4 control points. The curve goes thru both end points, and
+ the curve is influenced by the two middle points. In fact that slope of the curve at the first point is equal to
+ the slope of the line from the first to the second point. Similarly the slope at the end point is equal to the slope
+ of the line from the third to the fourth point. Rather than calculating a point on a curve, this application uses the
+ shape of the curve to determine a color. In the following diagram, the y axis denotes a color from black to a full
+ primary color (red in this case). By using a curve, we can give a separate color for each section of the curve, as
+ seen in the color blend below the curve.</p>
+ <div style="position:relative;left:300px;"/><img src="bezier.jpg"/></div>
+ <p>Now this tool, uses Cubic Bezier <b>patches</b>, a 3D surface patch consisting of 16 control points. You can think
+ of a patch as bezier curves running in parallel along the x axis, and a cross cutting setting of curves running along
+ the y axis. Again, though, the z value, in this application is mapped to a color, where patch values of 0 are mapped
+ to black, and values of 255 are mapped to full color (in this case red). In the color blend samples, then, you can
+ imagine that you are looking straight down on the patch from above.</p>
+
<p><b>Jan 27, 2008 - This tool is not finished at this time, although the patch animations work</b><br/>
Still to be done:
<ul>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|