Re: [Gimp-developer] Plug-In Golden ratio on Github/Youtube
- From: Ofnuts <ofnuts gmx com>
- To: gimp-developer-list gnome org
- Subject: Re: [Gimp-developer] Plug-In Golden ratio on Github/Youtube
- Date: Mon, 22 Feb 2021 22:04:57 +0100
Search a research paper widely available in the net as a PDF:
"Piecewise Circular Approximation of Spirals and Polar Polynomials"
It describes how you can approximate a linear spiral using circle arcs.
You can then use Gimp paths to create the arcs. There is a well known
approximation
or a circle arc with a Bezier spline (Gimp paths are actually Bezier
splines)(search "Bezier kappa"), so you just string the circle arcs into
a path, that you render. You can describe your spiral with 4 control
points (12 if you include tangents) per turn.
If you are not too familiar with Paths, see:
https://www.gimp-forum.net/Thread-Paths-Basics
If you want examples of scripts that use Gimp's vectors/paths, see:
http://sourceforge.net/projects/gimp-path-tools/files/scripts/
In particular see: golden-spiral-0.0.py
On 22/02/2021 18:31, José E Uzcategui via gimp-developer-list wrote:
Hello:
I have developed a plug-in to add layers of golden ratio circles, squares
and a spiral .
I create spiral by writing each point, it seems to be slow but accurate.
Would you advise any method alternative?
https://youtu.be/CC1l9RPhpJM
https://github.com/JoelHz/goldenratioGimpPython.git
thanks in advance.
_______________________________________________
gimp-developer-list mailing list
List address: gimp-developer-list gnome org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives: https://mail.gnome.org/archives/gimp-developer-list
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]