It is currently Fri Apr 19, 2024 7:14 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 150 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next
Author Message
 Post subject: The return of the revenge on the son of Slinky, reloaded
PostPosted: Tue Jun 28, 2011 7:19 pm  (#1) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4736
Ladies and gentlemen, may I introduce you to:

Attachment:
path-waves.png
path-waves.png [ 22.6 KiB | Viewed 5132 times ]


This is a complete rewrite of Slinky:

  • Does sine, square, and triangle waves
  • Allows asymmetrical waves
  • Like slinky, supports the rendering of two distinct paths
  • Produces much cleaner paths with real Bezier curves (the more adventurous can even run it recursively on one of its outputs)
  • As a consequence, runs much faster than its predecessor, those used to brew some coffee while it ran will have to convert to instant coffee.

The things it won't do like Slinky:

  • allow arbitrary phase (but it support sine/cosine on two sides)
  • allow completely arbitrary end (it always adjusts to have an integer number of periods over the strokes).
  • take ages to produce a very complex path

As usual, it requires Python support, and appears in the right click menus on paths in the Paths dialog ("Decorate/Periodic wave/")

You'll find it here: https://sourceforge.net/projects/gimp-p ... s/scripts/

It's not documented yet, but I'm sure you'll figure it out. Have fun.

PS: the line above is the combination of a triangle wave and a sine one of opposite phase.

_________________
Image


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: The return of the revenge on the son of Slinky, reloaded
PostPosted: Tue Jun 28, 2011 7:28 pm  (#2) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
Muahahahaha! Thanks, ofnuts! Keep your boat and oars nearby, though. ;)

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Tue Jun 28, 2011 7:47 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Mar 02, 2011
Posts: 1850
Location: Michigan
Offtopic :
Image
:lol

ofnuts, looks like a lot of fun :)

_________________
Image
I'm back I think


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Tue Jun 28, 2011 7:52 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
thanks ofnuts...... I will try to find it in Gimp tomorrow....

_________________
Image


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Tue Jun 28, 2011 8:38 pm  (#5) 
Offline
GimpChat Member

Joined: Aug 27, 2010
Posts: 491
Installed but I can't seem to locate it. Any help would be greatly appreciated.


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Tue Jun 28, 2011 8:50 pm  (#6) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Quite cool, Ofnuts! I'm going to play with the settings more but here's my contribution. One of these days I hope to remember to set plug-ins to be executable before I restart gimp.

Image

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


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Tue Jun 28, 2011 9:08 pm  (#7) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Mike wrote:
Installed but I can't seem to locate it. Any help would be greatly appreciated.

molly wrote:
thanks ofnuts...... I will try to find it in Gimp tomorrow....


Usually is very easy found where the menu of a python or scheme script : is written in one of the last lines of the script

But Ofnuts used some different method : apparently the script should be in <Vectors>/Decorate/... but i don't know of a menu called "Vectors"...Maybe that correspond to the contextual menu of the path tool ?

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Tue Jun 28, 2011 9:13 pm  (#8) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
Vectors is right click on Path in Paths dialog menu.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Tue Jun 28, 2011 9:31 pm  (#9) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Aaahh...so my guess was right !!
(except that i wrote path tool instead then path dialog)

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Tue Jun 28, 2011 9:34 pm  (#10) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
:ninja

Image

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


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Tue Jun 28, 2011 9:42 pm  (#11) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
Hehehehe, keep the boat and oars ready, ofnuts...

Image

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Wed Jun 29, 2011 12:41 am  (#12) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I need to be a bit more precise to get those gears to mesh properly. These were fun to make. I had no idea that the inner teeth on the blue O would go a different direction. Each animation is only 4 layers.

ImageImage

To make your gears turn clockwise, put layers in this order:
SinA
CosA
SinB
CosB

Counterclockwise
CosB
SinB
CosA
SinA

_________________
Image


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Wed Jun 29, 2011 12:59 am  (#13) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
O: Sweet!

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Wed Jun 29, 2011 1:15 am  (#14) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4736
@willy: nice, but where is the server room?

@many: didn't I say, in my original post: "appears in the right click menus on paths in the Paths dialog ("Decorate/Periodic wave/")" ?

@O: the stroke for the inside is oriented the other way, you can change the orientation of either the inside or the outside stroke with my "reverse-strokes" script (at the same place as path-waves).

_________________
Image


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Wed Jun 29, 2011 1:20 am  (#15) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
ofnuts wrote:
@O: the stroke for the inside is oriented the other way, you can change the orientation of either the inside or the outside stroke with my "reverse-strokes" script (at the same place as path-waves).
Thanks! I'll play with that. I kind of like the inside going a different way though. Makes people crazier, yanno.

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


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Wed Jun 29, 2011 6:30 am  (#16) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
very cool "O"........

_________________
Image


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Wed Jun 29, 2011 8:15 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: Apr 18, 2011
Posts: 619
Location: New York
Attachment:
TattooSplash2.png
TattooSplash2.png [ 506.89 KiB | Viewed 1420 times ]


using the same tattoo design I've worked on before I added a block outline. this is a very nice plugin!

_________________
Ubuntu 22.04, Kernel i686, 5.4.0-131-generic
python3 v3.10.6 ----- GIMP - ver 2.10.30


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Wed Jun 29, 2011 8:23 am  (#18) 
Offline
GimpChat Member

Joined: Mar 29, 2011
Posts: 346
Location: Wisconsin
Oregonian wrote:
I kind of like the inside going a different way though. Makes people crazier, yanno.

"O": It wouldn't be nearly as interesting if they both were going in the same direction.
Like it! :clap

_________________
Image


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Wed Jun 29, 2011 8:36 am  (#19) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4736
cecilia wrote:
Attachment:
TattooSplash2.png


using the same tattoo design I've worked on before I added a block outline. this is a very nice plugin!
Makes me think of some extraterrestrial marine creature :)

Thx for the appreciation.

_________________
Image


Top
 Post subject: Re: The return of the revenge on the son of Slinky, reloaded
PostPosted: Wed Jun 29, 2011 10:25 am  (#20) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Cecelia, that looks like it could be some kind of jewelry. Going to give that a try. :blingbling

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


Top
Post new topic Reply to topic  [ 150 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Return of Psychedelic Text and Alpha (Rel 4), for Gimp 2.10 only

5

No new posts The return of the Lord of The Rings script for Gimp 2.10

0



* Login  



Powered by phpBB3 © phpBB Group