Questions tagged [radial]

132 questions
3
votes
2 answers

Radial gradient mixin in LESS isn't working?

If you are familiar with less, could you help me with this problem? I am creating a radial gradient mixin for just a quick test case. However both are not working? .radialGradient(@posX:center @posY:center, @shape:circle @size:closest-side,…
Vennsoh
  • 4,853
  • 5
  • 26
  • 41
3
votes
1 answer

How do you pcolormesh with a polar plot?

I would like to use the nice circle that the polar projection gives, but I have cartesian data. The best I can do now is the following, but it has a notch thing. fig, ax = plt.subplots(subplot_kw={'projection': 'polar'}) xs, ys =…
Ruiko20
  • 31
  • 2
3
votes
2 answers

OpenCV undistorts only a central part of fisheye image

I'm trying to perform fisheye camera calibration via OpenCV 3.4.0 (C++, MS Windows). I used cv::fisheye::calibrate to make K and D (camera matrix and radial distortion coeffitients matrix). Then I used cv::fisheye::initUndistortRectifyMap to produce…
3
votes
0 answers

explanation to shift pixels code snippet

I have ported to the new C++ api the code from this answer. However, while I understand the most of the code I cannot get the idea behind the calc_shift() function and how the pixels shift is extracted. If someone could provide me an explanation I…
ttsesm
  • 917
  • 5
  • 14
  • 28
3
votes
1 answer

CSS gradient with rings or banding in Safari

I've been reading about this problem some but I'm not an expert with CSS so thought I'd ask. I'm using this code over a dark background image with noise and it looks great in Firefox but in Safari it has rings: #welcome { width: 100%; …
rick
  • 451
  • 3
  • 13
3
votes
1 answer

Big blocks with CSS3 gradients

Is any way to implement good performance big blocks with CSS3 radial gradients? Like on this website. http://www.medora.ca/wp-content/themes/medora/images/bgNoise4.jpg (3200x1600) Canvas - blocks JS during image generation and create a timeout.…
Rantiev
  • 2,121
  • 2
  • 32
  • 56
3
votes
0 answers

Add views in a circle (Android)

I would like to add some views in a layout. How can we put these views in relative or linear layout or any other layout in a circle same as in this image. I would like to do it using code.
2
votes
3 answers

How do you make a radial diagram?

Does anyone know how to create a radial diagram in .net, java, ruby, php or python? I don't care which. I have asked before for a library and searched everywhere. I cannot find anything. If I am going to build my own I thought I'd check and see…
johnny
  • 19,272
  • 52
  • 157
  • 259
2
votes
1 answer

Draw radial data on iPhone using CoreGraphics

I am trying to draw radar data on top of a map using CoreGraphics. Before, I was trying to draw each data point individually by making a path around each individual data point and then filling the appropriate color. So for this method I had to…
Ross Kimes
  • 1,234
  • 1
  • 12
  • 34
2
votes
0 answers

Optimizing surrogates radial basis function in Julia

I am trying to implement optimization function for the radial basis using surrogate_optimize in the following example. x = [1, 3, 4, 6, 7, 7.5, 8] y = [2, 3, 6, 6, 7, 8.5, 9] z = [1, 2, 4, 7, 8, 2, 4] XY = zip(x,y) |> collect lb, ub =…
Mohammad Saad
  • 1,935
  • 10
  • 28
2
votes
0 answers

Collapsible Radial tree D3.js v5

I am trying to get a collapsible radial tree in d3.js v5 working. There are many examples for v3 but I can not seem to find anything solid for v5. I found this example d3.js v3 radial tree and found out that this is not compatible with v5. : var…
Girl Geek
  • 79
  • 1
  • 7
2
votes
0 answers

Understanding legacy code: Algorithm to remove radial lens distortion

The method below to remove lens distortion from a camera was written more than ten years ago and i am trying to understand how the approximation works. void Distortion::removeLensDistortion(const V2 &dist, V2 &ideal) const { const int…
2
votes
3 answers

radial gradients in CSS3

I have some experience making linear gradients in CSS but I would really like to make a radial gradient similar to this image https://i.stack.imgur.com/T85xO.png Basically a light grey radial positioned at the bottom of the element
BillPull
  • 6,853
  • 15
  • 60
  • 99
2
votes
1 answer

D3 Linear radial clock

I'm trying to create a radial line chart with hours displayed in the middle of it. I'm getting the problem with rendering the text as on the picture below (red highlighted area). var xAxis = svg.selectAll('.radial').append("g"); var xTick…
2
votes
1 answer

d3.j mixing radial tree with link (straight) tree

Related to this example (d3.j radial tree node links different sizes), I was wondering if it is possible to mix radial trees and straight-line trees in d3.js. For my jsFiddle example: https://jsfiddle.net/j0kaso/fow6xbdL/ I would like to have the…
j0kaso
  • 21
  • 1
1
2
3
8 9