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? > >
- References:
- Help with making Menger Sponge in version 3 and 4...
- From: zeno <zeno1234@mindspring.com>
- Help with making Menger Sponge in version 3 and 4...