-2

I would like to draw a sequence of about 100 vertical lines, with random intervals.

Is this possible with gimp?

  • Why the down vote? Please explain. – Erel Segal-Halevi Nov 24 '13 at 15:33
  • I downvoted because your question shows no effort at all and you should treat GD like you did with some of your quality posts on SO such as Create an exception-safe wrapper of a class. I dont know anyone here that wouldn't mind helping but effort, an example of what you have tried, and where you may be falling should be included if you want someone to put just as much time into an answer. – DᴀʀᴛʜVᴀᴅᴇʀ Nov 24 '13 at 23:13
  • @Matt_2.0 as a total beginner in graphics design I don't even know where to start looking. The menus of GD software such as gimp are overwhelmingly large, and the terms in the menus are not always clear to a beginner. Next time, instead of down-voting, it could be more helpful if you write a short comment such as "try the following menu" so that I have a starting point. – Erel Segal-Halevi Nov 26 '13 at 14:38
  • Then you need to include what you have done in your question. Someone familiar with stack I do hold at a higher level of effort and quality posts instead of just posting "show me how" with no effort or a known attempt. Answers will never help OP's if they don't TRY or SHOW what they have tried. – DᴀʀᴛʜVᴀᴅᴇʀ Nov 26 '13 at 14:59
8

If you are familiar with Inkscape, I would recommend using the Create Tiled Clones feature to create your vertical lines. You can then add the output to gimp.

First, create a single vertical line, then select it:

Inkscape with vertical line

Select Edit > Create Tiled Clones...

Inkscape Edit dropdown menu

Set the number of rows and columns as desired:

Inkscape tiled clones dialog symmetry

Set the Shift X per Column to be at least 100% and the Shift X Randomize to be greater or equal to the shift:

Inkscape tiled clones dialog shift

End result:

Inkscape 100 random vertical lines

3

Here is an idea, select one pixel height of your canvas and use a noise filter Filter > Noise > Hurl.

Then if you don't want colors and just want like a mask, Colors > Desaturate.

Now go to the levels Color > Levels and adjust the arrows until you have the amount of lines and shades/colors you want.

If you want the lines to be thicker you can make more lines when adjusting the levels and then scale to the desired thickness, and height of line.

Hope this gives you an idea!


I have no idea what exactly you want except 100 lines width random space in between.

Here is what I did, I know it's not 100 lines but I did not scale the width:

Open source rocks

  • This looks interesting but I probably missed something because currently all I get is a single 1-pixel height line with random grey dots... How does this 1-pixel-height line becomes a sequence of lines? – Erel Segal-Halevi Nov 26 '13 at 14:35
  • You take the one pixel selection and use the scale tool. There are handles that can be use to scale in specific directions. The ones in middle, on the edges will scale constrained to their respective directions – Ben Nov 26 '13 at 21:08
  • Inkscape is free and I use it all the time. Open source rocks! (for being free :) – Ben Nov 26 '13 at 21:18
  • Oh, and you will need to zoom in to see the handles – Ben Nov 26 '13 at 21:33
  • This is so strange. I scale the selection but it remains 1-pixel high. I also tried to "float" the selection and make it a separate layer, but it still didn't work. – Erel Segal-Halevi Nov 30 '13 at 22:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.