Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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
add comment

1 Answer

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. –  kguler Jun 2 '12 at 9:43
add comment

Your Answer

 
discard

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.