# Tagged Questions

2k views

### 3 random numbers to describe point on a sphere [duplicate]

I'm currently working on a problem involving computer graphics and got into a discussion about whatever or not constructing a 3d vector out of 3 random points uniformly distributed points between -1 ...
64 views

### How to pick N random points on the surface of a torus?

Lets say a torus is given by its major and minor radius. How to pick a set of N random points on its surface, with equal distribution? ("equal distribution" = for any chosen subsurface of the torus ...
75 views

### Sample uniform direction within cone

My question is pretty much the same as this question below, however I came up with a potential solution to this problem that I didn't see an answer to in the other question and I was wondering if it ...
38 views

### How to Create a Plane Inside A Cube

I have a $e \times e \times e$ cube and I want to create random planes with equation $ax + by + cz + d = 0$ inside this cube. I will put random points on those randomly created planes as well. Here ...
68 views

### Packing a larger sphere with smaller spheres in high dimensions

We were discussing today the probability of leaving a point uncovered while trying to fill a larger sphere by randomly throwing in smaller spheres. Here's the argument: We are working in ...
265 views

### Triangle Point Picking in 3D

To take random uniform points inside a triangle Triangle Point Picking method is used. But this is for 2D points, how can I take random points from a triangle that is defined by 3 arbitrary 3D points? ...
159 views

### Random number generation in $3D$

I have problem regarding random number generation. Suppose I have disc of radius $r$. \begin{align} x&=r\cos(\theta)\\ y&=r\sin(\theta)\\ z&=0 \end{align} I rotate the co-ordinate. ...
223 views

### Algorithm to generate an uniform distribution of points in the volume of an hypersphere/on the surface of an hypersphere.

I am searching two simple/efficient/generic algorithms to generate a uniform distribution of random points: in the volume of a n-dimensional hypersphere on the surface of a n-dimensional hypersphere ...
52 views

### Generate a Normal in 3D Without Branching?

I have a vector $v$ in arbitrary 3D space ending at point B. In order to generate the next point -- C, I uniformly pick an ...
396 views

### Mapping random points on a sphere onto a uniform grid

Say I had an arbitrary sphere that is covered in a uniform triangle mesh of N elements with each element having a unique sequential index. If given the coordinates of a random point on the surface of ...
184 views

### calculate surface normal with random sampling of points

Given a surface in $R^3$ and a point P on the surface, I want to calculate the surface normal in this point, the vector that is perpendicular to the surface. However, I do not know the whole surface, ...
200 views