How can I create this with Inkscape ? [solved]

Post questions on how to use or achieve an effect in Inkscape.
CoredumpLab
Posts: 2
Joined: Mon Sep 29, 2014 3:33 am

How can I create this with Inkscape ? [solved]

Postby CoredumpLab » Mon Sep 29, 2014 3:37 am

Hi,

Is there possible to create this (vector graphics) gradiented circle like the image ?
If yes , how ?

Thank you !
Coredump
Attachments
red_gradient_circle2.png
red_gradient_circle2.png (8.27 KiB) Viewed 2338 times

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

Re: How can I create this with Inkscape ?

Postby Lazur » Mon Sep 29, 2014 4:25 am

Hi.

Sadly svg doesn't have a support for conical gradients, so each way to draw such will be a bit forced.

One of it would be to use a gradient mesh.
Though it is not supported too in the specs, somehow it got more attention from the developers.

Other solution, to use clipping over that "conic gradient".
To change the step's colour/position, you have to use only the gradient editor.

If only two steps would be necessary, there are a few more solutions.
For example, by making a small rectangle to be a pattern along a circular -or other- shaped path (live path effect preferred),
convert the result to a path, break it apart, group objects together, then run the interpolate attribute inside group extension.
A bit complicated, but works with all kind of shapes.

If you are familiar with the make tiled clones option, it can also make it happen.


And, finally, the most intriguing solution to use a simple pattern along path effect and leave the rest to the renderer.
https://openclipart.org/detail/202192/test-image-7-by-lazur-urh-202192


Which one would be vector?
Thinking of eps saving options, you can have luck the interpolated style, the tiled clone and the pattern along path methods.
Maybe with the gradient mesh too? I cannot tell.

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: How can I create this with Inkscape ?

Postby hulf2012 » Mon Sep 29, 2014 7:22 am

Hello,



Some time ago, I did a small (and raw) tutorial about that, here:



Allthough, I haven't tried with elements with different opacity, but i Think it is also possible
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

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

Re: How can I create this with Inkscape ?

Postby Lazur » Mon Sep 29, 2014 8:38 am

Off topic:
Oh how I searched that! Couldn't find the original post. Nice tutorial Hulf!


hulf2012 wrote:Allthough, I haven't tried with elements with different opacity, but i Think it is also possible


You can use a white to black gradient as a masking object for that.



Now after the repost, a bit of digging for similar topics:

Trick: Simulating a curved gradient

How to fill a gradient along a shape (or morph image)

Line gradiant - flow in line

Making a rainbow with narrowing - My AI professional can


and maybe for a collection of curved-bent gradients, this would be appropriate too:
http://www.inkscapeforum.com/viewtopic.php?f=9&t=17856#p65978

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

Re: How can I create this with Inkscape ?

Postby Lazur » Mon Sep 29, 2014 8:53 am

Here is how it can look with a simple pattern along path lpe:

-svg is rendered through the browser, may look alot better when exported from inkscape at 90 dpi-

SVG Image

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

Re: How can I create this with Inkscape ?

Postby brynn » Mon Sep 29, 2014 8:23 pm

Whoa!! When did this Interpolate Attribute in a Group extension show up? I never was really aware of it. Wow -- so many possibilities!!

CoredumpLab
Posts: 2
Joined: Mon Sep 29, 2014 3:33 am

Re: How can I create this with Inkscape ?

Postby CoredumpLab » Tue Sep 30, 2014 12:39 am

Gents, you are great !

Thank you so much your solutions !!!


Return to “Help with using Inkscape”