It is currently Tue Jun 23, 2026 7:13 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: How do i make coarse sawtooth jagged edges?
PostPosted: Sat Feb 08, 2025 4:07 pm  (#1) 
Offline
GimpChat Member

Joined: Feb 08, 2025
Posts: 14
GIMP Version: 2.10.38
Operating System: Windows
GIMP Experience: Intermediate Level

List any relevant plug-ins or scripts:
G'mic



What I'm after:
A jagged 'broken glass' border (without fancy lighting effects, etc) or the cartoon speech balloon they use for really extreme noise/speech.

What I do:
Put guides about 100 pixels (more for big pictures) in from each edge. Layers are 800-3000 pixels.

Use the freehand tool, clicking only, to draw a crude sawtooth from the outside edge to the inner edge of the border, all around the layer's edge.
(if you don't make it all the way to the edge, with even one point, your border will have a glitch. If you go too far, a point will have a flattened point. Snapping helps.)

Invert selection, so the portion between the jagged line and the outside edge is selected.

Delete, replace, fill, whatever - what's selected is between the outside edge and the jagged line.

Is there a tool, procedure, or plugin I can use to draw this border, or something like it? My searches are clogged with people trying to get rid of pixel-level jaggies, and not very helpful. Even better if it works on shapes other than rectangles.


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: How do i make coarse sawtooth jagged edges?
PostPosted: Sat Feb 08, 2025 4:58 pm  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
If you have a path (in blue, below), you can use my path-waves script to make a triangular wave around it (red):

Attachment:
twave.png
twave.png [ 29.91 KiB | Viewed 2958 times ]

_________________
Image


Top
 Post subject: Re: How do i make coarse sawtooth jagged edges?
PostPosted: Sat Feb 08, 2025 5:32 pm  (#3) 
Offline
GimpChat Member

Joined: Feb 08, 2025
Posts: 14
That's most of the hard stuff. Thanks.

If I could modulate the asymmetry with randomness that would be close to really nice. Modulate the asymmetry AND frequency, either from noise or more waveforms, or color values - hog heaven. But that's my modular synth background - EVERY reasonable plugin parameter should be able to be modulated, and there should be a reasonable selection of modulation sources - bitmap values, phase and distance or proportion around a center point, height, width, random sources...

Looks like I'll go and see if I can wrestle the python. The pseudocode is straightforward enough...
The other option, I suppose, is to start with that then attack it with other editing tools.

If you did that in a really long, really tight spiral with the CD data, you could Rickroll people with basically a facsimile of the vinyl.


Top
 Post subject: Re: How do i make coarse sawtooth jagged edges?
PostPosted: Sat Feb 08, 2025 5:43 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2019
Posts: 280
Location: Lake Havasu City, Arizona, USA
After some Roller experimentation, I was able to make an icy-jag edge with on an ellipse using a Plaque/Mask/Fringe.

Attachment:
File comment: The GIMP window shows the brush used in the included fringe-mask preset.
roller-6-13--fringe-mask.png
roller-6-13--fringe-mask.png [ 217.8 KiB | Viewed 2955 times ]

Attachment:
File comment: Released today. The file has an included 'fringe-mask' preset.
Roller 6.13.zip [4.72 MiB]
Downloaded 68 times

_________________
Charles


Top
 Post subject: Re: How do i make coarse sawtooth jagged edges?
PostPosted: Sat Feb 22, 2025 8:33 pm  (#5) 
Offline
GimpChat Member

Joined: Feb 08, 2025
Posts: 14
That's a different approach. I'll mess with that. So far I've been baffled by the plethora of brushes, and just use the same three or four.


Top
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group