Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was testing the source code of the answers to this question.

And when I tried this response and maxed out most of the manipulators, this is what I got.

enter image description here enter image description here enter image description here enter image description here

What went wrong that the errors are tilted. Can anyone explain?

Here’s the link for the Notebook.

P.S. These are not Photoshopped.

share|improve this question
up vote 10 down vote accepted

The function Shuffle is not defined. If you define it (say, replace it with RandomSample) it works. Apparently, Rotate in the latter part of the code is being applied to the output of a function that uses edgeNoise which, in turn, (because Shuffle is undefined) is producing the error message you are seeing.

To replicate what is happening in a simple setting try

 Rotate[Graphics@Disk /@ Take[{{1, 2}, {2, 2}, {3, 4}}, something], 30 Degree]

enter image description here

share|improve this answer
Thanks for pointing this out, that was one of my packaged functions. Corrected! – István Zachar Jun 2 '12 at 9:30
@István, nice piece of code btw. – kglr Jun 2 '12 at 9:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.