My Math Forum  

Go Back   My Math Forum > Science Forums > Computer Science

Computer Science Computer Science Forum


Reply
 
LinkBack Thread Tools Display Modes
September 20th, 2011, 06:05 AM   #1
Newbie
 
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  
 
Reply

  My Math Forum > Science Forums > Computer Science

Tags
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 06:54 AM
Mathematica: Applying rules to random integer generation thesixmax Math Software 12 January 14th, 2012 08:00 PM
Mathematica : random function which gives single integer? Cham Math Software 6 September 9th, 2011 08:31 PM
Test(s) for random unit vectors idolorand Algebra 0 January 14th, 2010 02:14 PM
sphere enclosing a set of points Philipe Algebra 3 June 10th, 2009 01:08 PM





Copyright © 2018 My Math Forum. All rights reserved.