Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Graphic3d Plotting of Spheres

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111492] Re: Graphic3d Plotting of Spheres
  • From: Darren Glosemeyer <darreng at wolfram.com>
  • Date: Tue, 3 Aug 2010 06:38:16 -0400 (EDT)

Glen Svenningsen wrote:
> Hey,
> I was wondering if anyone knew a really fast way to plot A LOT of
> psuedo-randomly distributed spheres anything above 10,000 just takes
> too long.
> -Glen
>
>   

I don't know what you've tried or how much time would be considered 
acceptable in your case, but

Graphics3D[Table[Sphere[RandomReal[{-100, 100}, 3]], {10000}]]

took about 5 seconds of real time on my machine, and

Graphics3D[Table[Sphere[RandomReal[{-100, 100}, 3]], {100000}]]

took about 47 seconds.

Darren Glosemeyer
Wolfram Research


  • Prev by Date: Re: Kernels dying on parallel code
  • Next by Date: Re: Kernels dying on parallel code
  • Previous by thread: Re: Issuing Function Calls within a Plot command
  • Next by thread: export to file with a specific precision