Right I should have made it more clear, I left it as a comment in the
code, but the first and last point figure into the calculation and do
have some effect but are not directly connected to the rest of the
curve. They could be left undrawn or automatically be selected as the
top left of the bounding rectangle and the bottom right or as I was
saying put anywhere to give the beginning and end of the curve the
"feel" that it was coming from a certain direction before the points
that actually are all connected.
The second issue is that I was placing the red dots in gimp and
reading off their coordinates also with gimp to put in the program, so
it wasn't exact, but the coordinates actually put in the program are
all plotted as pixels so in the end are drawn as part of the curve...
Thanks for the question I'm going to post this in an update with your
name if you don't mind? You didn't seem to last time...
On Wed, Jul 17, 2013 at 4:18 AM, Ofnuts > wrote:
The curve doesn't include the two end points and it seems it
doesn't even get through one of the points (next before last at
top right):
http://i.imgur.com/Hmy1DMG.png
On 07/17/2013 09:24 AM, Ben Thurston wrote:
I made an implementation of the idea I had for the drawing of
smooth curves
through given points...
http://benpaulthurstonblog.blogspot.com/2013/07/smooth-curve-generator-implemented-in.html
_______________________________________________
_______________________________________________
gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org
List membership:
https://mail.gnome.org/mailman/listinfo/gimp-developer-list