MathGroup Archive 2002

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

Search the Archive

Re: Help with making Menger Sponge in version 3 and 4...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37751] Re: [mg37725] Help with making Menger Sponge in version 3 and 4...
  • From: Selwyn Hollis <selwynh at earthlink.net>
  • Date: Mon, 11 Nov 2002 05:10:13 -0500 (EST)
  • References: <200211090530.AAA06385@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

zeno:

Look at the code and you'll see 9 instances where the author uses 
Round[thing + .5]. Replace each of those with Ceiling[thing]. That fixed 
it for me.

---
Selwyn Hollis



zeno wrote:
> The Menger Sponge code in the mathsource archives does not work in
> version 3 or 4. The notebook is called fractals.nb
> 
> It is claimed to be for version 3 however...but does not work right in
> version 3...
> 
> It gives an output that is the opposite of what it should be...(where
> there are holes in the menger sponge there are blocks and vice-versa).
> 
> Also, under iteration of 0 it works, but with iterations of 1 and 2 it
> gives a postscrip error..
> 
> I ahd tech Support run the notebook in version 4 and it came out the
> same..
> 
> is there code for version 3 or 4 that makes a correct Menger Sponge?
> 
> 




  • Prev by Date: Re: How to use error message return values
  • Next by Date: HELP! Why are the solutions from NDSolve and DSolve not identical?
  • Previous by thread: Help with making Menger Sponge in version 3 and 4...
  • Next by thread: How to use error message return values