RSS/Atom feed Twitter
Site is read-only, email is disabled

Python source code for the smooth curve through points algorithm I made

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

Python source code for the smooth curve through points algorithm I made Ben Thurston 17 Jul 07:24
  Python source code for the smooth curve through points algorithm I made Ofnuts 17 Jul 08:18
   CAGTPW+4Msz+TmdY68-WUew9Jtm... 18 Jul 00:53
    Python source code for the smooth curve through points algorithm I made Ofnuts 18 Jul 00:51
Ben Thurston
2013-07-17 07:24:37 UTC (over 11 years ago)

Python source code for the smooth curve through points algorithm I made

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

Ofnuts
2013-07-17 08:18:37 UTC (over 11 years ago)

Python source code for the smooth curve through points algorithm I made

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 _______________________________________________

Ofnuts
2013-07-18 00:51:30 UTC (over 11 years ago)

Python source code for the smooth curve through points algorithm I made

A Bezier curve will be a lot smoother: http://i.imgur.com/73Lhvhw.png

On 07/17/2013 03:47 PM, Ben Thurston wrote:

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