It is currently Sat Jun 29, 2024 11:38 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 17 posts ] 
Author Message
 Post subject: Animated Chain Brush
PostPosted: Mon Jun 01, 2020 1:43 pm  (#1) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
Animated Chain brush.

In brush tool dialog, select Angle to be around 6 or 7.
Step size at 60.

Image


Attachments:
Chain.zip [2.29 MiB]
Downloaded 292 times

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes
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: Animated Chain Brush
PostPosted: Mon Jun 01, 2020 3:32 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
I like this one a lot. I opened the brush to examine how it was made, I never made an animated brush before. It looks like you duplicated your two links for 72 layers and rotated each layer by 5 degrees. Is there a way to automate that so I can make some of my own? I guess I could do it manually if I had to.


Top
 Post subject: Re: Animated Chain Brush
PostPosted: Mon Jun 01, 2020 3:45 pm  (#3) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
I had to manually rotate each layer. I opened two new images, one the size of all layers combined (rows and columns with guides and grid), and then a single cell layer, the size of one cell. I used rotate for each chain layer. Then used paste in place to copy them from the single cell into the larger image. The same was done with the rope layer. Tedious and time consuming. I think RobA made me a script to do this already. I've looked for it. I'll add it once I find it. I hope it still works with the new GIMP.

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


Top
 Post subject: Re: Animated Chain Brush
PostPosted: Mon Jun 01, 2020 8:21 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
Well I made my first animated brush a Motorcycle Chain. It took way too long to rotate manually....

Attachment:
chain.jpg
chain.jpg [ 106.69 KiB | Viewed 7611 times ]


Attachment:
Chain-Bike.gih.zip [3.84 MiB]
Downloaded 202 times


Top
 Post subject: Re: Animated Chain Brush
PostPosted: Mon Jun 01, 2020 8:28 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
Yeah, its tedious work. After 300+ rotations, my eyes had had enough, and I am still searching for RobA's script.

BTW, I added 6 to angle and your bike chain performed much better on my computer. In case anyone uses it and has problems.

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


Top
 Post subject: Re: Animated Chain Brush
PostPosted: Mon Jun 01, 2020 10:04 pm  (#6) 
Offline
GimpChat Member

Joined: Sep 20, 2016
Posts: 293
How comes this brush follows direction without a brush dynamic ??


Top
 Post subject: Re: Animated Chain Brush
PostPosted: Mon Jun 01, 2020 10:09 pm  (#7) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
Which brush?

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


Top
 Post subject: Re: Animated Chain Brush
PostPosted: Mon Jun 01, 2020 10:16 pm  (#8) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
Regardless of which brush you're referring to, each cell in the chain brush is angular. Each layer has a certain amount of rotation added, so as you draw out the brush, it follows the angle of rotation. The more layers and minimal rotations, the smoother the flow.

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


Top
 Post subject: Re: Animated Chain Brush
PostPosted: Mon Jun 01, 2020 11:12 pm  (#9) 
Offline
GimpChat Member

Joined: Sep 20, 2016
Posts: 293
mahvin wrote:
Regardless of which brush you're referring to, each cell in the chain brush is angular. Each layer has a certain amount of rotation added, so as you draw out the brush, it follows the angle of rotation. The more layers and minimal rotations, the smoother the flow.

Yes, the one you attached in your first post.
I have made a brushpipe before but i didnt know it follows direction.

So you used the Angular option for the Rank ?

https://docs.gimp.org/2.10/en/gimp-usin ... ushes.html


Top
 Post subject: Re: Animated Chain Brush
PostPosted: Mon Jun 01, 2020 11:20 pm  (#10) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
Correct.

In the rope brush, I had 13 cells, so 360/13 = 27 degrees for each cell of rotation. However, depending on the changed number of cells of the brush, you have to either account for aspect ratio or loss of angle within the steps between cells (which is close to half = 6.5 angular, so 6 -7 angle works out). The stitches required me to have blank cells so that they would skip between thread cells.

The chain, with 72 cells required 5 degrees of rotation. 360/72 = 5 degrees.

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


Top
 Post subject: Re: Animated Chain Brush
PostPosted: Mon Jun 01, 2020 11:52 pm  (#11) 
Offline
GimpChat Member

Joined: Sep 20, 2016
Posts: 293
The Affinity brushengine, which is very similar to the Gimp engine, but more advanced, allows this kind of behaviour with a brushdynamic called "Cyclic".
I wonder if this would be a candidate for a feature request.

Its way easier to have a specific dynamic instead of making these huge brushpipes with tons of layers and going through the hassle to rotate each layer individually.


Top
 Post subject: Re: Animated Chain Brush
PostPosted: Mon Jun 01, 2020 11:56 pm  (#12) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
I completely agree with that. These animations are HUGE files. The chain is 15 meg. It would be so much easier and faster to have a feature just do it without all the hassle!

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


Top
 Post subject: Re: Animated Chain Brush
PostPosted: Tue Jun 02, 2020 12:34 am  (#13) 
Offline
GimpChat Member

Joined: May 12, 2015
Posts: 4694
Thanks also for the chain brush, Mahvin. Really great! Racer, your bike chain is very realistic!


Top
 Post subject: Re: Animated Chain Brush
PostPosted: Tue Jun 02, 2020 12:46 am  (#14) 
Offline
GimpChat Member

Joined: Sep 20, 2016
Posts: 293
mahvin wrote:
I had to manually rotate each layer. *snip* Tedious and time consuming. I think RobA made me a script to do this already. I've looked for it. I'll add it once I find it. I hope it still works with the new GIMP.

This is possible with the Clone Layer Tool (doesnt work in 2.10 if im not mistaken).
Takes a single mouseclick.

Download is in this thread:
viewtopic.php?f=8&t=15444&hilit=clone+layer+tool

Cant find the original thread at the moment....


Top
 Post subject: Re: Animated Chain Brush
PostPosted: Tue Jun 02, 2020 1:33 am  (#15) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
Konstantin wrote:
mahvin wrote:
I had to manually rotate each layer. *snip* Tedious and time consuming. I think RobA made me a script to do this already. I've looked for it. I'll add it once I find it. I hope it still works with the new GIMP.

This is possible with the Clone Layer Tool (doesnt work in 2.10 if im not mistaken).
Takes a single mouseclick.

Download is in this thread:
viewtopic.php?f=8&t=15444&hilit=clone+layer+tool

Cant find the original thread at the moment....


That one didn't work in 2.10, but this one did (the 64bits zip file):
https://gimper.net/resources/clonelayer ... dated.101/

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


Top
 Post subject: Re: Animated Chain Brush
PostPosted: Tue Jun 02, 2020 1:07 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
I made an animated chrome chain and it can be colorized into gold color if you want.

Attachment:
chain-chrome.jpg
chain-chrome.jpg [ 97.53 KiB | Viewed 3866 times ]


Attachment:
Chain-Chrome2.gih.zip [1.56 MiB]
Downloaded 129 times


Top
 Post subject: Re: Animated Chain Brush
PostPosted: Tue Jun 02, 2020 1:59 pm  (#17) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
That is nice! Shiny, too!

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


Top
Post new topic Reply to topic  [ 17 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Animated brush

8

No new posts Attachment(s) Animated Rope Brush

18

No new posts Attachment(s) Animated Stitch Brush

17

No new posts Attachment(s) Animated wooden Smiley brush

6

No new posts Attachment(s) @mahvin: an idea for a new animated brush

24



* Login  



Powered by phpBB3 © phpBB Group