I have a set of metallic sliding pieces which are constrained to the x and y axis in following way:    I would need to maximize the horizontal distance among all pieces constrained by the same slider and the vertical distance among the sliding piec...
I'm using the Google Maps API and have added markers. Now I want to add a 10 mile radius around each marker, meaning a circle that behaves appropriately while zooming. I have no idea how to do that and it seems it's not something common.  I f...
Basically I'm asking this question for JavaScript: Calculate Bounding box coordinates from a rotated rectangle    In this case:   iX = Width of rotated (blue) HTML element iY = Height of rotated (blue) HTML element bx = Width of Bounding Box (red...
I want to select random points on a given sphere. This page explains it quite well:  http://mathworld.wolfram.com/SpherePointPicking.html ("To obtain points such that any small area on the sphere...")  But I'm not entirely sure if I'm...
I need some help writing an equation.  I want to generate hexagons of random sizes that are still "perfect"(proportional).  The leftmost vertex will be positioned at (0,0). I want to think of the other vertices in relation to that leftmost ve...
I have 3 x,y points that I am trying to use to draw a right trangle.  So I am calculating the angles of the triangle after calculating side lengths.  After I have gotten the hypotenuse's length, I want to rotate the hypotenuse so that it complete...
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...
Recently I've been thinking about how to transform a complex polygon into a non-complex polygon.  How is this done?  This is the sort of thing I want to do:    I'm going to end up with JavaScript when I'm done, but any form of a solution...
I am playing with three JS and want to determine if a mesh is fully inside another mesh. I wrote a little robot which should run into a home box navigated by the player. I know how to detect collision, but is there an easy way to detect if an object...
I looked up around the Net if this someone had the same problem. I'm working with three.js. I have a 3DObject, which may contain holes. The faces are triangulated. Let say I want to see it from above: my objective is to get a Polygon which repres...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.