I am learning Inkscape and vector graphics in general.
What I am trying to draw is a simple person for my adventure game. This is what I have done:
* basic contours - no problems, path editing is quite intuitive in Inkscape,
* basic colors - I was little bit suprised, that I cannot simple fill the areas, but I get it now.
The main problems are the shadows and the highlights.
How can I get such smooth shading like in http://www.scalablegfx.com/svg/girl-sitting-on-floor?
Is there some way to make the gaussian blur, or something similar? Is there some menu item I have missed?
I have tried to simulate it by gradients, but the effect is not what I want to achieve. Even when I make several layers of gradients, it is not the same.
Thx in advance,
Sylvia
With any object, you can go to the 'Fill and Stroke' panel and modify the 'Blur' parameter. It's just over the 'Opacity'. It blurs all the object with a gaussian function.
I'm using 0.91.
Hope it helps.
You are probably looking for "feather". Try:
Filters > ABCs > Feather.
Related
I am looking for a way to draw a 3d line plot. Preferably I would like to use the datavisualization framework, but it does not seem to provide this out of the box.
I experimented a little bit and ended up using 3D surface plots (Surface3D) displaying the lines as surfaces (i.e. ribbons) like this:
While this works and looks okay in above picture the thickness of the line depends on the perspective. Rotating the plot always allows to find the angle where the line disappears since it has not thickness:
Is there a type of plot that would be better suited for this? I tested the bars which don't perform well for lots of samples and don't look nice in my application. I also tested scatterplots which are not suitable either.
If there isn't: Where would I start to implement this myself on top of the existing classes in the datavisualization framework? I am thinking about adding another surface "ribbon" in z direction, however that seems a little hackish.
I used the technique described as hackish above. While I am not too happy about the approach the overall look is quite okay:
So basically each data line consists of three QSurfaceDataRows that together form two 90° ribbons as can be seen here:
I am a real Illustrator newbie, so I hope someone can help me!
I am tying to achieve a curved pattern, kind of like the image below.
Image
I really don't know how to do it! I prefer the result to be a vector illustration. Is there in Illustrator some kind of smudge tool like the one in Ps? Or any other ideas to achieve the same result? I have tried Effect>Wrap but i never seem to be able to have the result I want.
Thank you so much in advance!
You can try Envelope Distort tool (Illustrator Menu: Object->Envelope Distort -> Make with Mesh). In Envelope Mesh Dialog set rows:4, columns:4 (or other values). Then using Direct Selection Tool (A) select some of mesh nodes and move in various directions.
I have been working with bokeh for a little while now and when showing people data they really seem to love being able to interact with the data. I've managed to acheive this via bokeh serve, but only for scatter diagrams. Can this be done with histograms?
The problem, I think, is that as a high-level chart, Histogram() won't take a ColumnDataSource as its argument, which seems to be what the interactivity is based around. I'm not very clued up about this, so any help or comment on workarounds is appreciated.
I fairly new to Bokeh as well - so there may be a better way, but my quick work around was to create my histogram with multiple rectangle glyphs. The only catch is that rect uses the y value passed to it as the center of the glyph, rather than its absolute height.
Something like:
plot.rect(x, y=bar_height/2, width = 1, height = bar_height, source= source_data)
Works for me.
So I got some kind of cross section picture in jpg format I want to work with. For better understanding I just drew a picture, hopefully symbolising well enough kinda how the real pictures will look like:
At the top of the picture is material A, at the bottom material B.
Goal: I want to get the Pixels of the boundary line between both materials.
My way so far:
I already know how to read pictures with package called EBImage
I also know, that this will result in a matrix with a color value for
every pixel.
I thought it would be better to convert the jpeg into a binary picture with only black and white colors.
I thought filling up the black part below (Material B) and reducing the noise would be nice, so I could use column sums (a sum of 1's) to find the row number where material A touches material B, which should be my searched boundary line (right?).
Problems:
I don't find filters which fill up the black parts intelligently, in the real pictures, there will be much more noise, which will complicate things even further...
I am not sure if all this is even necessary, and there is a more efficient way to reach my goal of finding the boundary line
Thank you very much for every tip in advance!
Answers will always be vague when there's no example to work with. I would normally use ImageJ for a task like this but EBImage has the commands that I would use.
From EBImage I would make binary and then erode , dilate, and fill holes (fillHull).
Your picture looks like it might be a candidate for a support vector machine. There are a couple of packages for R with svm functions, one is e1071.
I'm trying to draw some appealing curved arrows on top of a map. The best looking arrows that I can find are network.arrow() from the network package. However, when I make them curved things get weird. Compare the following:
library(maps)
library(network)
map("usa")
network.arrow(-110,37,-85,40,length=5,width=1,angle=20)
map("usa")
network.arrow(-110,37,-85,40,length=5,width=1,angle=20,curve=2)
I find it difficult to believe that network.arrow() would integrate a curve option that inherently makes the arrowheads look bizarre, and yet I cant get it perform properly. How can I fix this?
Note: I am aware of great circle, and no, I'm not trying to get flight paths drawn properly. The data I am trying to visualize is on a much smaller scale than the example presented here.