My Math Forum  

Go Back   My Math Forum > Science Forums > Computer Science

Computer Science Computer Science Forum

LinkBack Thread Tools Display Modes
September 20th, 2011, 05:05 AM   #1
Joined: Mar 2011

Posts: 23
Thanks: 0

Mathematica : random points on the unit sphere

I need to generate a set of random points on an unit sphere, using Mathematica. I can do it for a simple homogeneous (i.e. uniform) distribution of points using the following coordinates :

RandomPoints[u_, phi_] := {Sqrt[1 - u^2] Cos[phi], Sqrt[1 - u^2] Sin[phi], u},

with uniform random variables u in [-1, 1] and phi in [0, 2 Pi].

However, I would like to define a distribution that feels more "natural", i.e. Perlin-like (take note that I don't know how to define "Perlin noise", mathematically).

What do you suggest ?
Cham is offline  

  My Math Forum > Science Forums > Computer Science

mathematica, points, random, sphere, unit

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Symmetric matrix acting on a unit sphere benlism Linear Algebra 1 February 17th, 2013 05:54 AM
Mathematica: Applying rules to random integer generation thesixmax Math Software 12 January 14th, 2012 07:00 PM
Mathematica : random function which gives single integer? Cham Math Software 6 September 9th, 2011 07:31 PM
Test(s) for random unit vectors idolorand Algebra 0 January 14th, 2010 01:14 PM
sphere enclosing a set of points Philipe Algebra 3 June 10th, 2009 12:08 PM

Copyright © 2019 My Math Forum. All rights reserved.