`I have two rectangles which I must return in a function whether they intersect or not.  They are represented by [ x0, y0, x1, y1 ] pairs that represent the top-left and bottom-right corner of the rectangles. Alternatively, your solution could be [ x0...`
`I'm having some issues calculating the corners of a rotated rectangle within a rotated container with both having offset x/y co-ords.  The pivot is off but I'm not sure of the solution. The following scenarios work:  (x, y, rotation) image =...`
`Given a web page, how do you find the largest rectangle on the webpage which is the main content area?  For example, compare the size of sidebar, header, footer, and main content area. Is it possible to find the main content area by simply searching...`
`I have set up a google map on my website(localhost) by using javascript. Right now the user can create circles or rectangles by left or right clicking. The user can also make the rectangle bigger or smaller and the same applies in circles as well.  I...`
`I´m wondering if it is possible to append multiple rectangles per datapoint. In my example there are three datapoints. For each I try to create 2 rectangles. In the end there have to be 6 rectangles. 3 in red, 3 in blue. IMAGE  According to this ans...`
`I need to write an function that takes Rectangles and determines the overlapping area in between them. The format in which the array is shown is the following:  ["(0,0),(2,2),(2,0),(0,2),(1,0),(1,2),(6,0),(6,2)"]  The first four points define...`
`I'm trying to write a script (javascript) in an API of a Virtual Table Top program so I can manipulate some tokens (Car Wars :)).  I'm sort of finding the answer, but it seems like I'm struggling and reinventing the wheel so I thought I&#...`
`I am trying to teach myself the basics of the Canvas tag and Javascript interaction. In the following code, I can make the rectangle expand when I hover with "onmouseover", but it will not contract when "onmouseout".  <!DOCTYPE htm...`
`I'm trying to draw a rectangle on canvas with a click, a mouse movement, and another click. How should I go about following the user's cursor after the first click and displaying a preview of a filled rectangle on canvas of what the shape wou...`
`If anyone sees this question as being too specific feel free to have it deleted.  I'm having trouble with my collision detection, i had seen some basic collision detection techniques and then tried adapting it to tell which side is being collided...`