Rotation Interpolation?

NB: I'll present this question in degrees purely for simplicity, radians, degrees, different zero-bearing, the probl...

Excel - steepest and least steep lines?

Is there any way in Excel that I can get the steepest line and least steep line, given a linear graph? If it's not ...

Measurement unit for image of a spherical object?

What is the unit to measure distence between any 2 points in an image of a spherical object. For example the distan...

HTML5 Canvas: Calculating a x,y point when rotated?

I developing a HTML5 Canvas App and it involves reading a xml file that describes the position of arrows, rectanges ...

Convert a rectangular grid of points into a hexagonal grid?

I have a rectangular grid of points like this and I want to get indices of these points which forms a hexagonal grid...

Equation-driven smoothly shaded concentric shapes?

Background Looking to create interesting video transitions (in grayscale). Problem Given equations that represent...

Cone image refinement?

Trying to make a nice three-dimensional graphics of cone intersected by a plane I choose a slight rearrangement of a...

Is there a short-hand for nth root of x in Python?

Simple syntax question. In maths if I have two number 3 and 2 and I wish to calculate 3 to the power of 2 then no s...

python - invalid value encountered in log?

I have the following expression: log = np.sum(np.nan_to_num(-y*np.log(a+ 1e-7)-(1-y)*np.log(1-a+ 1e-7))) it is givi...

Why does 2e3 return 2000? Isn't 2 to the 3rd power equal to 8??

This code: $g = 2e3; echo $g; echo <br>; echo "var_dump g gives:<br>"; Displays: 2000 float(2000...

Check which side of a plane points are on?

I'm trying to take an array of 3D points and a plane and divide the points up into 2 arrays based on which side of t...

How can I make my character move diagonally??

I am trying to create a game using HTML5 Canvas and Javascript and I am unable to figure out how to (correctly) make...

Is O(n) greater than O(2^log n)?

I read in a data structures book complexity hierarchy diagram that n is greater than 2log n. But cannot understand h...

Formula to Calculate Subscriber Churn Revenue?

I'm trying to sum up 12 months of subscriber revenue factoring a 6% monthly churn (assuming no signups) to come up w...