Re: [Gimp-user] Simple Radial Lines

2003-08-14 Thread Eric Pierce
 On Wed, 2003-08-06 at 21:02, Jeff Trefftzs wrote:

 1.  Select the Black  White Gradient
 2.  In the Gradient Tool Dialog select:
  2.1  Custom Gradient
  2.2  Linear (or bi-linear)
  2.3  Sawtooth or Triangular repeats
 3.  Click and drag in the image window to get as many stripes as you
 want rays.  Make sure the stripes run vertically.
 4.  Image/Filters/Distorts/Polar Coords

 Presto!  Raidal rays.

 You can also replace the gradient voodoo with renderpatterngrid. Polar
 Coord is a great trick for this though. Good tip.

yeah, that's hot.  A good way to get some control on the # of lines.

Thanks everyone who posted and especially to Joao for the cool dog script.

Eric Pierce


 cheers

 --
 Jakub Steiner [EMAIL PROTECTED]

 ___
 Gimp-user mailing list
 [EMAIL PROTECTED]
 http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Simple Radial Lines

2003-08-14 Thread pcg
On Tue, Aug 05, 2003 at 07:00:53PM -0500, Eric Pierce [EMAIL PROTECTED] wrote:
 I'm not after circles.  I'm even lines radiating from the center.
 Did you see the gif link above?  Just like that minus the circle in the
 middle.

You could create a striped gradient fiurst and then use the gradient tool
in conical mode. Maybe there are better solutions, but this solution is
easily reusable :)

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED]  |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Simple Radial Lines

2003-08-14 Thread Joao S. O. Bueno


Not at all, Eric!

I like my script, mostly because I can always write others to perform
like tasks.
But... I am just AMAZED by the grid + polar_coord trick.
I bet we could just create a GIMP PUZZLE CONTEST .
The most incredible, and yet feasible, way to draw
fnord in the GIMP wins.
(And any postscript would be left out of
such a contest - it's not made with the GIMP after all)
Does photoshop  have got an easier way to draw these
Simple Radial Lines ?
I remember using Deluxe Paint, in DOS - and there,
there was a symetric mode one could enable - every stroke was
mirrored N times around a common center, or in tiles, and this drawing
could be made using that.
Actually, Deluxe Paint, for simple it was, had some features that are
not found around in any other program.
JS
--


Eric Pierce wrote:
On Wed, 2003-08-06 at 21:02, Jeff Trefftzs wrote:


1.  Select the Black  White Gradient
2.  In the Gradient Tool Dialog select:
2.1  Custom Gradient
2.2  Linear (or bi-linear)
2.3  Sawtooth or Triangular repeats
3.  Click and drag in the image window to get as many stripes as you
want rays.  Make sure the stripes run vertically.
4.  Image/Filters/Distorts/Polar Coords
Presto!  Raidal rays.
You can also replace the gradient voodoo with renderpatterngrid. Polar
Coord is a great trick for this though. Good tip.
yeah, that's hot.  A good way to get some control on the # of lines.

Thanks everyone who posted and especially to Joao for the cool dog script.

Eric Pierce



cheers

--
Jakub Steiner [EMAIL PROTECTED]




___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Simple Radial Lines

2003-08-12 Thread Jakub Steiner
On Wed, 2003-08-06 at 21:02, Jeff Trefftzs wrote:

 1.  Select the Black  White Gradient
 2.  In the Gradient Tool Dialog select:
   2.1  Custom Gradient
   2.2  Linear (or bi-linear)
   2.3  Sawtooth or Triangular repeats
 3.  Click and drag in the image window to get as many stripes as you
 want rays.  Make sure the stripes run vertically.
 4.  Image/Filters/Distorts/Polar Coords
 
 Presto!  Raidal rays.

You can also replace the gradient voodoo with renderpatterngrid. Polar
Coord is a great trick for this though. Good tip.

cheers

-- 
Jakub Steiner [EMAIL PROTECTED]

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Simple Radial Lines

2003-08-08 Thread Michael J. Hammel
On Wed, 2003-08-06 at 14:00, Eric Pierce wrote:
 
  This should be easy, but I just can't think how to do it.
  
  All I want to create is a radial burst.  Sharp black and white lines
  evenly spaced emanating from the center.
  
  Exactly like the old Japanese flag but without the circle in the middle.
  See here:
  http://www.japanorama.com/images/navy_army_ww2_flag.gif
  
  I've been wracking my brains for the last several hours, and digging
  through the plug-ings, but I can't come up with anything.  It seems like
  it'd be so easy...

If I understand what you're asking here (which sounds sort of like a
spoked wheel), GFXShapes can do this for a half circle.  It's the Fan
shape without the tail (aka grip).  Just create a new layer with a
fan, duplicate, flip the dup vertically and then align the bottoms.  You
might want to clip the bottom of the half circle to remove the edge
before you dup the layer.

You can use GFXLayers to align the two layers exactly using point and
click.  I find myself using GFXLayers all the time - something I didn't
expect I would be doing when I wrote it.

These are part of the Graphics Muse Tools CD.  You can find info on it
on my web site:
http://www.graphics-muse.com/gfxmuse/gfxmuse.html
-- 
Michael J. Hammel [EMAIL PROTECTED]

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Simple Radial Lines

2003-08-06 Thread Joao S. O. Bueno


Juliet Nimmo wrote:
Hi all,
I tried using this solution on the windows version of gimp, and it gave
me a could not render and a could not read ps file error messages.
Does this solution only work in Linux?
AFAIK. Gimp requires the ghostscript postcript engine to load 
Postscript prograns.
I believe that if GStools is properly instaled in windows, GIMP for 
Windows should be able to load it as well.
(if don't, that's a BUG and should be treated like one)

You can download ghostscript and it's associated tools starting from:

http://www.cs.wisc.edu/~ghost/doc/AFPL/get700.htm

And if you gonna try it, let me know if it still doesn't work.
regards,
JS
--


___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Simple Radial Lines

2003-08-05 Thread Joao S. O. Bueno
Could not think of an easy way using the GIMP.

Actually, the only more or less easy way I could think off is using
a graphic turtle I am making in GIMP-Python.
Since that would be complicated I made an extra-gimp solution for you.
An Postscript Snippet.
Just paste the following postscript code in a plain text file, which 
name ends in .ps , edit the number of rays to the desired one,
and them just open it as an image in the GIMP.

Enjoy it!

__

%!PS
%%BoundingBox: 0 0 1000 1000
%(C) by Joao S. O. Bueno - 2003
%Free to use, change and re-distribute as you like.
%Created for posting at gimp-user mailing list, aug-05-2003
%Creates a radial pattern
/numrays 8 def
/step 360 numrays div def
500 500 translate
360 step div cvi
  {
   newpath
   0 1000 moveto
   0 0 lineto
   step 2 div rotate
   0 1000 lineto
   closepath
   fill
   step 2 div rotate
  } repeat
showpage

Eric Pierce wrote:
This should be easy, but I just can't think how to do it.

All I want to create is a radial burst.  Sharp black and white lines
evenly spaced emanating from the center.
Exactly like the old Japanese flag but without the circle in the middle.
See here:
http://www.japanorama.com/images/navy_army_ww2_flag.gif
I've been wracking my brains for the last several hours, and digging
through the plug-ings, but I can't come up with anything.  It seems like
it'd be so easy...
Any help would be much obliged!
Eric Pierce
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Simple Radial Lines

2003-08-05 Thread Eric Pierce
That's it!  Very cool solution.

As soon as you mentioned ps I started wondering if Sodipodi (or some other
vector dealy) could pull this trick off, but your code is perfect. 
Manipulable and everything is rendered automatically.

Would make for a nice plug-in I imagine.

Thanks again!
Eric Pierce
 Could not think of an easy way using the GIMP.

 Actually, the only more or less easy way I could think off is using
 a graphic turtle I am making in GIMP-Python.

 Since that would be complicated I made an extra-gimp solution for you.
 An Postscript Snippet.

 Just paste the following postscript code in a plain text file, which
 name ends in .ps , edit the number of rays to the desired one,
 and them just open it as an image in the GIMP.

 Enjoy it!

 __

 %!PS
 %%BoundingBox: 0 0 1000 1000

 %(C) by Joao S. O. Bueno - 2003
 %Free to use, change and re-distribute as you like.
 %Created for posting at gimp-user mailing list, aug-05-2003
 %Creates a radial pattern


 /numrays 8 def
 /step 360 numrays div def
 500 500 translate

 360 step div cvi
{
 newpath
 0 1000 moveto
 0 0 lineto
 step 2 div rotate
 0 1000 lineto
 closepath
 fill
 step 2 div rotate
} repeat

 showpage


 Eric Pierce wrote:
 This should be easy, but I just can't think how to do it.

 All I want to create is a radial burst.  Sharp black and white lines
 evenly spaced emanating from the center.

 Exactly like the old Japanese flag but without the circle in the middle.
 See here:
 http://www.japanorama.com/images/navy_army_ww2_flag.gif

 I've been wracking my brains for the last several hours, and digging
 through the plug-ings, but I can't come up with anything.  It seems like
 it'd be so easy...

 Any help would be much obliged!
 Eric Pierce

 ___
 Gimp-user mailing list
 [EMAIL PROTECTED]
 http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user





___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user