[solved] Create Scanline pattern

Post questions on how to use or achieve an effect in Inkscape.
User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

[solved] Create Scanline pattern

Postby capnhud » Mon Oct 29, 2007 10:10 pm

I am trying to create scanlines with tiled clones with a diagonal scanlines. I use p1:simple translation with one row and 20 columns, but no matter how I change the rows the lines are always to far spread out. Is there another setting that I need to touch in order to control how far the lines are spread out.

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Create Scanline pattern

Postby microUgly » Tue Oct 30, 2007 6:31 am

The gap is because your lines are on an angle so they have a larger bounding area. There are two ways around this.

The first is to "Shift" the clones position. Go to the Shift tab of the "Create Tiled Clones" windows and put in a negative percentage for Shift X /per column.

The other way is to work with horizontal or vertical lines to begin with, clone, then rotate. And you can control the gap between lines grouping the original line with another object to make the bounding area a bit larger. Then once you've cloned it, delete the extra object from the original.

User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

Re: Create Scanline pattern

Postby capnhud » Tue Oct 30, 2007 8:10 am

I was knew it would be easy, but seemed like everything I touched made the pattern go worse. Thanks for the advice.

User avatar
Coco
Posts: 106
Joined: Sat Jun 09, 2007 12:09 am
Location: Germany
Contact:

Re: Create Scanline pattern

Postby Coco » Thu Nov 01, 2007 7:59 am

An other way to make easy Scanlines:
Use a alternate Gradient :tool_gradient: from 80% alpha gray to 0% alpha white.
Image
Greetz,
Coco

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Create Scanline pattern

Postby microUgly » Thu Nov 01, 2007 9:53 am

Good tip - although be aware that if you create a sharp transition from one colour to the next you'll get pixelation. Inkscape doesn't apply AA to gradients so you need to create some separation between stops to compensate.

User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

Re: Create Scanline pattern

Postby capnhud » Thu Nov 01, 2007 6:32 pm

@ Coco
Use a alternate Gradient from 80% alpha gray to 0% alpha white.

How did you do that?

User avatar
Coco
Posts: 106
Joined: Sat Jun 09, 2007 12:09 am
Location: Germany
Contact:

Re: Create Scanline pattern

Postby Coco » Thu Nov 01, 2007 8:17 pm

Use the CMYK Register:
Or set Alhpa grey under RGB / HSL to 204.
Image
Last edited by Coco on Thu Nov 01, 2007 11:10 pm, edited 1 time in total.

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Create Scanline pattern

Postby microUgly » Thu Nov 01, 2007 9:17 pm

Also, select the "Repeat" option on the Fill dialog to "reflect".

User avatar
Coco
Posts: 106
Joined: Sat Jun 09, 2007 12:09 am
Location: Germany
Contact:

Re: Create Scanline pattern

Postby Coco » Thu Nov 01, 2007 11:04 pm

Right. Try out this kind of Gradients with another Object overlap. Not scanlines but interesting Effects ! Cool !
see picture:
http://pixel-pics.de/picture/show/583

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Create Scanline pattern

Postby microUgly » Fri Nov 02, 2007 7:24 am

The overlapping radial gradients are particularly neat.

User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

Re: Create Scanline pattern

Postby capnhud » Fri Nov 02, 2007 3:30 pm

Did not realize you could do this with gradients thanks for the tip


Return to “Help with using Inkscape”