diagonal lines background

M
Posted By
MALdito
Jan 22, 2005
Views
587
Replies
3
Status
Closed
I want to create a tile with diagonal lines.
I allready did my best without any help:
www.bacanalnica.com

Is there a way to create something better?


————————————–
Part of the "No Signature Movement"
My site: http://www.webbasica.com
And for all those spammers out there,
knock yourself out:

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

GH
Gernot Hoffmann
Jan 23, 2005
Do you mean better looking or easier to program ?

A simple generator is below. Copy, save as EPS and
place in an RGB doc in PhS.
Background and line color, line width and angle can
be modified easily by a text editor.
Colors can be changed in PhS as well.
The box size should be left at 100mm x 100mm.
It´s anyway vector graphic, arbitrarily scaleable.
Once ready in PhS, a little blur will help for anti-
aliasing.

Best regards –Gernot Hoffmann

%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 0 0 284 284
%%Creator: Gernot Hoffmann
%%Title: Line Pattern
%%CreationDate: Jan.23/2005

/mm {2.834646 mul} def

%Box
/b 100 mm def
/c b 0.5 mul def
/a -45 def
/p c 1.5 mul def
/n p neg def
/d 0 def

% Colors RGB range 0..1
/Cback {0.8 0.8 1.0 setrgbcolor} def
/Cline {0.2 0.2 0.8 setrgbcolor} def

% Lines
/LDist {/d 3.0 mm def } def
/LWidt { 1.5 mm setlinewidth} def

0 0 b b rectclip
Cback
0 0 b b rectfill

c c translate
a rotate

Cline
LDist
LWidt
/x n def
{ x n moveto x p lineto stroke
/x x d add def
x p gt {exit} if
} loop

showpage
M
MALdito
Jan 24, 2005
escribi
GH
Gernot Hoffmann
Jan 25, 2005
Thanks for the feedback.
It´s a plain PostScript program, which can be used by
other programs as well, e.g. InDesign, CorelDraw.
It´s not a PhS script.

Best regards –Gernot Hoffmann

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

Related Discussion Topics

Nice and short text about related topics in discussion sections