Questions tagged [ellipse]

In geometry, an ellipse is a plane curve that results from the intersection of a cone by a plane in a way that produces a closed curve. Circles are special cases of ellipses. An ellipse is also the locus of all points of the plane whose distances to two fixed points add to the same constant.

In geometry, an ellipse (from Greek ἔλλειψις elleipsis, a "falling short") is a plane curve that results from the intersection of a cone by a plane in a way that produces a closed curve. Circles are special cases of ellipses, obtained when the cutting plane is orthogonal to the cone's axis. An ellipse is also the locus of all points of the plane whose distances to two fixed points add to the same constant.

Ellipses are closed curves and are the bounded case of the conic sections, the curves that result from the intersection of a circular cone and a plane that does not pass through its apex; the other two (open and unbounded) cases are parabolas and hyperbolas. Ellipses also arise as images of a circle under parallel projection and the bounded cases of perspective projection, which are simply intersections of the projective cone with the plane of projection. It is also the simplest Lissajous figure, formed when the horizontal and vertical motions are sinusoids with the same frequency.

838 questions
-1
votes
1 answer

Normalize Function in Python

I'm currently working on a paint program using python 2.7.5 and pygame. I came across an error with the ellipse tool and asked a classmate for some help and he said I was missing a .normalize(). I added it in and my tool was fixed. I'm currently…
user2950875
  • 89
  • 3
  • 13
-1
votes
2 answers

Checking if a x,y position is within a dynamically generated Ellipse

I'm trying to calculate whether or not a specific X,Y position lies within an ellipse in C#. The available variables to work with are: X (the X I want to check) Y (the Y I want to check) The width of the ellipse The height of the ellipse The…
Rik_S
  • 381
  • 4
  • 13
-1
votes
1 answer

distributing div elements on a ellipse in a box, prevent overlapping and overflow

I am trying to arrange a bunch of div with different size in a ellipse in a div box. Here is what i have until yet: http://jsfiddle.net/gz2bH/5/ var stage = $('#stage'); $('#middle').css('top', stage.outerHeight() / 2 - $('#middle').outerHeight() /…
lcase
  • 63
  • 4
-2
votes
2 answers

Creating a Fireworks Simulation in Processing

I have an assignment in which I have to make a fire works simulation using processing. My goal is to have a firework that can shoot out multiple ellipses in a circular formation. Image of what I'm trying to accomplish can be found here The code I…
Kash
  • 1
  • 1
-2
votes
1 answer

My code complies but doesn't show the ellipse in C#

So I am trying to make a red ellipse flash in the middle but for some reason my codes runs and complies but no ellipse is drawn As you can see in the code part I have put the drawing part in the default constructor, I have also tried creating a…
-2
votes
1 answer

Tell a Python turtle to go in a certain path at a random speed

I have a track that I need turtles to move around but I have no idea how to tell them to follow a certain path at a random speed. I know this is a demanding question but please tell me what I need to do to start creating the path. The code I have so…
Brad
  • 21
  • 6
-2
votes
1 answer

Using Bresenham’s Circle Algorithm to generate an Ellipse in Java

I am trying to create a GUI based program which uses a grid and Bresenham’s Circle Algorithm to draw an ellipse. However, I am having two problems. One is that I am unable to get the panel_grid to refresh such that the new value of r is passed to…
k-Rocker
  • 147
  • 2
  • 9
-2
votes
1 answer

Fitting an ellipse with no tilt on data

I'd like to fit an ellipse with no tilt on my data. This is the equation of an ellipse with no tilt: a*x^2 + b*y^2 + c*x + d*y = e I found this solution (https://stackoverflow.com/a/12717181/3179989) interesting, but not sure how to change the…
NESHOM
  • 899
  • 16
  • 46
-3
votes
1 answer

WPF: Loaded images, in particular Ellipses, have low quality shape edge. How do I improve that?

In a project I've loaded some images. However, in particular, Ellipses look quite ugly. As though an edge of ellipse shape is greatly indented. I know this is common issue for ellipsoid shapes. So is there a way to improve edges?
-3
votes
1 answer

C++ Eigen Library

I'm having trouble compiling this program with #include. I see that if I comment out this line it compiles. MatrixXd A = (1.0 / (double) d) * (p * U * p.transpose() - (p * u) * (p * u).transpose()).inverse(); I am unable to change the header…
-4
votes
1 answer

Midpoint Ellipse Algorithm in Java

I am trying to write a program to allow a user to draw an ellipse by using clicks. The user left-clicks at first to select the radius, then right-clicks to select the horizontal radius, then right-clicks again to select the vertical radius. Nothing…
Saiyan
  • 197
  • 7
  • 22
-6
votes
1 answer

Plot an ellipse with python 2.7 knowing the equation

I have this equation, which define an ellipse. 7.91x^2 + -0.213xy + 5.46y^2 -0.031x -0.0896y = 1 Of the general form: Ax^2 + Bxy + Cy^2 + Dx +Ey = 1 I am using python 2.7 -- pythonxy Of course, I tried by trying to solve an array of points x and y…
Agape Gal'lo
  • 687
  • 4
  • 9
  • 23
1 2 3
55
56