It is currently Mon Aug 17, 2026 7:23 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: New Script-Fu : "Spirograph_for_beginners.scm" V-2
PostPosted: Sun May 19, 2013 8:33 am  (#1) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

Paths can be saved in SVG format.
The script-fu is in the archive "Spirograph_for_beginners_Version2.zip".

File > Create > Patterns > Spirograph for beginners ...


This script is an adaptation of "Epicycloid_for_beginners.scm" ( viewtopic.php?f=12&t=7276#p92776 ).

****
Edit 20130520
Version 2
This script is modified to create a small path "Path_Inbetweener" to use "path inbetweener" created by Ofnuts.
site : http://gimp-path-tools.sourceforge.net/ ... nbetweener
download : http://sourceforge.net/projects/gimp-pa ... y/download


Attachments:
Spirograph_for_beginners_Version2.zip [3.53 KiB]
Downloaded 162 times
Spirograph_param.png
Spirograph_param.png [ 6.75 KiB | Viewed 3621 times ]
Spirograph.png
Spirograph.png [ 132.76 KiB | Viewed 3621 times ]


Last edited by samj on Mon May 20, 2013 1:15 am, edited 1 time in total.
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: New Script-Fu : "Spirograph_for_beginners.scm"
PostPosted: Sun May 19, 2013 9:18 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12832
That would make a fine plate to eat off of Samj. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: New Script-Fu : "Spirograph_for_beginners.scm"
PostPosted: Sun May 19, 2013 10:21 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
for SamJ
my first play
Attachment:
Spiro1.JPG
Spiro1.JPG [ 323.33 KiB | Viewed 3568 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: New Script-Fu : "Spirograph_for_beginners.scm"
PostPosted: Sun May 19, 2013 11:02 am  (#4) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6946
Location: Somewhere in GIMP
Thanks samj! I don't know quite what I'm doing with it, but it's sure fun.

Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: New Script-Fu : "Spirograph_for_beginners.scm"
PostPosted: Sun May 19, 2013 12:03 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
ooooh, for beginner, I will grab this one. I like script fu only because I know where to put it. Everytime I try to put in a py, it never shows up for me.


Top
 Post subject: Re: New Script-Fu : "Spirograph_for_beginners.scm"
PostPosted: Mon May 20, 2013 1:22 am  (#6) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
:tyspin , I love the designs and the effect of stained glass.

*****

The script-fu is modified to create a small path "Path_Inbetweener" to use "path inbetweener" created by Ofnuts.
The new script-fu is in the archive "Spirograph_for_beginners_Version2.zip".
Here is an example created with version 2 of the script-fu that uses "path inbetweener"


Attachments:
Test_version2_Spirograph_for_beginners.png
Test_version2_Spirograph_for_beginners.png [ 84.27 KiB | Viewed 3475 times ]
Top
 Post subject: Re: New Script-Fu : "Spirograph_for_beginners.scm"
PostPosted: Mon May 20, 2013 5:23 am  (#7) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16161
samj wrote:
:tyspin , I love the designs and the effect of stained glass.

*****

The script-fu is modified to create a small path "Path_Inbetweener" to use "path inbetweener" created by Ofnuts.
The new script-fu is in the archive "Spirograph_for_beginners_Version2.zip".
Here is an example created with version 2 of the script-fu that uses "path inbetweener"

Sam you are awesome! :)
Image
Image

_________________
Image


Top
 Post subject: Re: New Script-Fu : "Spirograph_for_beginners.scm"
PostPosted: Mon May 20, 2013 5:31 am  (#8) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16161
Then stroked, merged with a white layer and blurred.Then color balance. :)

Image

Super cool effect with Levels and then curves.
Image

Thank you Sam! :bigthup

_________________
Image


Top
 Post subject: Re: New Script-Fu : "Spirograph_for_beginners.scm"
PostPosted: Mon May 20, 2013 8:14 am  (#9) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
It is possible to create Epicycloids and Hypocycloids with this script-fu.

Use a very small coefficient value for the frequency. Example KF = 3.5

To create an Epicycloid :
Frequency 1 = 10
Frequency 2 = Frequency 1 * KF = 10 * 3.5 = 35
Radius 2 = 50
Radius 1 = KF * Radius 2 = 3.5*50 = 175

To create a Hypocycloid :
Frequency 1 = 10
Frequency 2 = Frequency 1 * KF * -1 = 10 * 3.5 * -1 = -35
Radius 2 = 50
Radius 1 = KF * Radius 2 = 3.5*50 = 175

This script is now very, very slow. Enough time to quietly drinking coffee :rofl


Attachments:
utilisation_particuliere.png
utilisation_particuliere.png [ 33.95 KiB | Viewed 3402 times ]
Top
 Post subject: Re: New Script-Fu : "Spirograph_for_beginners.scm"
PostPosted: Mon May 20, 2013 8:36 am  (#10) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Another example to illustrate the previous message :


Attachments:
exemple_parametres.png
exemple_parametres.png [ 7.53 KiB | Viewed 3399 times ]
exemple.png
exemple.png [ 101.61 KiB | Viewed 3399 times ]
Top
 Post subject: Re: New Script-Fu : "Spirograph_for_beginners.scm"
PostPosted: Mon May 20, 2013 4:55 pm  (#11) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Examples of values ​​for flowers :


Attachments:
exemple_fleurs.png
exemple_fleurs.png [ 3.49 KiB | Viewed 1146 times ]
Top
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group