# Linked Questions

584 votes
19 answers
149k views

### Where can I find examples of good Mathematica programming practice?

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
42 votes
5 answers
6k views

### Distribution of random points in 3D space to simulate the Crab Nebula

I'm generating some 3D models of planetary nebulae and supernova remnants for Celestia, a free OpenGL astronomy software. Currently, I know how to do it with random points inside a spherical shell. ...
37 votes
2 answers
2k views

### Generating animations of clouds with Mathematica

I'd like to generate some visually-pleasing animations of clouds, fog or smoke with Mathematica. My idea of "visually-pleasing" is along the lines of one of the images on the Wikipedia article for ...
• 8,588
44 votes
3 answers
5k views

### Identifying critical points/lines of 2/3D image/cubes

Upshot I am interested in identifying critical points of a 3D field/cubes (maxima, minima, tube-like and wall-like saddle points) and 2D field/image (maxima, minima, saddle points). I.e. the ...
• 21.7k
26 votes
2 answers
2k views

### Efficiently generating 2-D Gaussian random fields on the sphere

Context A couple of years ago I posted this question for an efficient code to generate an n-D Gaussian random field (sometimes called processes in other fields of research), which has applications in ...
• 21.7k
13 votes
1 answer
729 views

### Morphological Filtering in 3D to produce skeletons

Context As a follow up of this question and that answer, I would like to identify the special lines separating 3D watersheds. These are useful in the context of astronomy to identify the ...
• 21.7k
8 votes
2 answers
240 views

### MorphologicalEulerNumber misbehaving in 3D?

Context I would like to compute the MorphologicalEulerNumber of 3D GaussianRandomField as a function of height above a given threshold. Attempt I proceed as follows:...
• 21.7k
10 votes
2 answers
299 views

### Integration of Booles and Gaussians in high dimensions

Context As a follow up of this question, I would like to predict the connectivity of the so-called cosmic web in arbitrary dimensions. The connectivity $\kappa$ is defined as the number of ridges ...
• 21.7k
3 votes
2 answers
299 views

### adding noise (or perturbing) to a surface

Perhaps a stupid question but I am used to that. This is a perfect smooth surface with circle contour. How can I add some small noise to it to have an actual moutain look with not so smooth contours ...
• 4,522
10 votes
1 answer
231 views

### Animating Curl noise applied to an image

I'm trying to produce turbulent swirling effects in an image using Curl Noise. The idea is you start off with some random field (usually Perlin noise) and use the curl of this field to displace the ...
• 20.4k
14 votes
1 answer
250 views

### Ito Process sourced by Gaussian Process?

Question Is it possible to extend the function ItoProcess so that it takes correlated noise? I.e would like to be able to write ...
• 21.7k
6 votes
1 answer
555 views

### Connect neighbouring points as list of segments in 2 D

Context I am interested in connecting neighboring points in 2/3D as list of segments. I am guessing this is something within the reach of graph theory, which is well implemented in mathematica. ...
• 21.7k
6 votes
1 answer
155 views

### ItoProcess for 3 coupled SDEs sourced by 5 Wiener processes

Context I am trying to solve a stochastic equation corresponding to Vector resonant relaxation (the way orbital planes of stars diffuse near the galactic center, see below). Setup Within the ...
• 21.7k
1 vote
1 answer
92 views

### How to pad periodically a cube to be compatible with ListInterpolation?

Context I would like to define a periodic interpolation function on a cube. It seems mathematica's ListInterpolation and the option ...
• 21.7k
1 vote
1 answer
89 views

### Correlated random field generation

I need to generate two correlated gaussian random fields. As far as I know, this question and this other provides the means to generate a single autocorrelated process. However, I am clueless about ...
• 115

15 30 50 per page