Sunray with jagged edges

Post questions on how to use or achieve an effect in Inkscape.
User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Sunray with jagged edges

Postby Espermaschine » Mon Jun 22, 2015 11:53 pm

I cant upload in the original thread, so i start a new topic.

Lazur URH wrote:A stitch subpaths lpe with a pattern along path lpe can be pretty close.

it works very well but doesnt fit in the star...
Attachments
jagged sunray_Lazur Meth.svg
(23.55 KiB) Downloaded 168 times

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Sunray with jagged edges

Postby Lazur » Tue Jun 23, 2015 12:56 am

I see the distances slightly grow on the inner side, other than that it is a fast workaround.
240 rays.svg
(396.04 KiB) Downloaded 177 times

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Sunray with jagged edges

Postby Espermaschine » Tue Jun 23, 2015 1:58 am

How did you get the rays lined up so perfectly with the star ?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Sunray with jagged edges

Postby Lazur » Tue Jun 23, 2015 2:06 am

The star had 24 corners, so used 241 number for paths in the stitch subpaths lpe.
Also split a node in both subpaths for a better alignment.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Sunray with jagged edges

Postby brynn » Tue Jun 23, 2015 3:52 am

Wow, I never thought of using Stitch Sub-Paths on circle. That's much easier than radially tiled clones! (imo)

I wonder what the difference is in file size, between making the same number of ticks with each one? [going to test....]

Edit
The Stitch Sub-Path is much smaller than the tiled clones file. 100 ticks in each test, and the circle approx 300 px squared. Ticks approx 40 px long.

Tiled clones is 42.2 kb, but LPE version is only 6.5 kb!! Hhmm, let's see, can the LPE be changed to path? Hah, that actually made it even smaller (6.2 kb)! Hhmm, what about uncloning.... And that made that file even larger -- 67.8! So the LPE is much better all around, afaict :D

I can't see that either one is any less precise than the other. While you can set the degrees with the tiled clones precisely, setting the number of sub-path, when speaking of a circle would just be a simple calculation, if you need certain degrees. Hhhmm, I didn't draw them on top of each other, to see if the ticks match, but they have to match -- it's just columns for tiled clones and sub-paths for the LPE.

Good to know :D

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Sunray with jagged edges

Postby Espermaschine » Tue Jun 23, 2015 10:32 am

Image

Image

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Sunray with jagged edges

Postby brynn » Wed Jun 24, 2015 6:29 am

Nice work!

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Sunray with jagged edges

Postby Espermaschine » Wed Jun 24, 2015 6:35 am

EDIT:
Thanks Brynn !


Heres something im not quite sure i get.
After i created the sunray with 'Stitch Subpaths', its time to draw the pattern.

I create a triangle from a rectangle, and for some reason i think it has to be one with the tip pointing up.
Thats what it will look like in the end when its applied to the path, right ?

But when i apply it to the path, its upside down...
So to fix this, i flip the pattern, copy it again and add the LPE.
And sometimes i get strange results with this, like wild paths pointing in all directions...

What i noticed, when i select the sunray and hit the Tab key, the first node is actually on the right side, meaning the triangle pattern has to be vertical.....
Why is that ?

EDIT: i meant horizontal, not vertical
Last edited by Espermaschine on Thu Jun 25, 2015 2:36 pm, edited 1 time in total.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Sunray with jagged edges

Postby brynn » Wed Jun 24, 2015 8:26 pm

As far as I know, for PAP, the pattern has to be drawn sideways. I don't know why, really.

When I first was trying to learn pap, I would always draw them "up and down". Then the pattern would look sideways when applied to the path, so I would then flip the whole path around. That doesn't always work though, so I think better to either draw it sideways, or flip it sideways before copying.

I'm not sure about the wild results you're getting. Did you add a 2nd LPE? Or did you undo back before the 1st pap, before you added it again?

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Sunray with jagged edges

Postby Espermaschine » Thu Jun 25, 2015 1:00 am

Sideways pattern seems to be the right way.

I cant remember what lead to the wild bug, but it could be fixed by selecting two nodes and make the selected segments lines.
The handles of said nodes were extended far.


Return to “Help with using Inkscape”