Equation-driven smoothly shaded concentric shapes?
Background Looking to create interesting video transitions (in grayscale). Problem Given equations that represent...
Draw rotated sine image?
I'm working with 2D Fourier transforms, and I have a method that will output the following result: The code looks ...
3D point from two angles and a distance?
I want to be able to calculate the coordinates of a 3D point, based on its distance from the origin, and two angles:...
3D Vector defined by 2 angles?
So basicly I'm looking for a way to calculate the x,y and z component of a vector using 2 angles as shown: Where al...
Accelerometer - Rolling Ball in Ball?
i want to use the phones accelerometer for rolling a Ball in a Ball. The movement works correctly, the problem is th...
Nets of Geodesic spheres [closed]?
Closed. Th...
Find the max of 3 numbers in Java with different data types?
Say I have the following three constants: final static int MY_INT1 = 25; final static int MY_INT2 = -10; final stat...
Calculate an elliptical arc start and end angles given two vectors?
I am working on a program which draws shapes based on a cgm file input. I am trying to draw elliptical arc and it g...
How to determine shape is Semicircle by given point collection??
Here is point collection of polygons <Polygon Points="24,188,24,183,25,176,26,172,29,166,33,160,38,155,44,151,50...
How to calculate and place circles on an rect area??
I'm trying to draw some charts on a Canvas Area. My Problem is following... I have 1-4 (or more) circles to draw. T...
How can I generate random numbers for demo charts that roughly trend up and to the right??
I need to generate random numbers for several charts that go up and to the right. I'm using a JavaScript charting e...
How to multiply This matrix in matlab?
so we have this matrix a=[1;2;3] and we want to multiply it by itself a*a, However Matlab doesn't do this multipli...
How should I throw a divide by zero exception in Java without actually dividing by zero??
I have an I2C device that wants two inputs: a denominator and a numerator. Both are written to separate addresses, s...
dot product of two quaternion rotations?
I understand that the dot (or inner) product of two quaternions is the angle between the rotations (including the ax...
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 ...