Recent content by ZippyDee

  1. Z

    Figuring Out Clockwise Polygon Fill in a Program

    I just realized that I could also sum up the angles and use that result...I would then either get 360 or -360, unless there were some lines in the polygon that crossed. Which number meant what would depend on whether I sum the interior or exterior angles.
  2. Z

    Figuring Out Clockwise Polygon Fill in a Program

    Awesome, thanks! That's exactly what I was looking for!
  3. Z

    Figuring Out Clockwise Polygon Fill in a Program

    I don't know exactly how to explain this, but I'll try my best: Let's say I have a set of points (P1, P2, P3...Pn), that are the vertexes of a n-sided polygon. As would be expected, the polygon is drawn simply by connecting the points in order (P1 to P2, P2 to P3, Pn to P1). This is the...
  4. Z

    What is a Matrix? - Examples & Explanations

    A matrix isn't a number, a matrix is more of a collection of numbers. For example, if want to keep track of the coordinates for a bunch of points on a graph, you can use a matrix with two rows and store the X coordinates in the first row, and the Y coordinates in the second. Matrices are useful...
  5. Z

    The Mysteries of Complex Numbers

    You will usually go into complex numbers around Algebra II (or whatever the course is called for you). I don't know how likely it is that you would go as far as complex trig or complex exponents, but you might.
  6. Z

    Bezier curves, tangent angles, and arc length

    I am trying to do some calculations that involve cubic Bezier curves. I've been looking all over the place for information about Bezier curves, but I can't find anything that has what I'm looking for. I need to be able to figure out the length of any curve with known control points...
  7. Z

    Collision detection between a moving circle and stationary point

    Oh...but this doesn't work if the circle has an x velocity of 0...How do I deal with that?
  8. Z

    Collision detection between a moving circle and stationary point

    Wow...never mind, I am an idiot...I forgot to subtract r2 before collecting terms!
  9. Z

    Collision detection between a moving circle and stationary point

    I'm trying to figure out the best way to find a collision between a moving circle and a stationary line segment. I have the x and y of the point, and the x, y, radius, x velocity, and y velocity of the circle. //Edit: I tried using the equation of a circle with the origin at the point (P)...
  10. Z

    Points on two ellipses with identical tangent lines

    Thank you. That makes a lot of sense! However, I am not sure how to write the Cartesian equations for the ellipses. Could you explain how to do that?
  11. Z

    Points on two ellipses with identical tangent lines

    Hi, I'm trying to get this working for a program I'm making. I've been working on this for a while, but I can't seem to figure it out. I have multiple rotated ellipses. Imagine you took a rubber band and stretched it around the ellipses. The rubber band would follow the curve of the outside...
Back
Top