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.

Thanks to methods found in the below, I was able to assemble those elements :

Tile image on specific location without space between them

How to combine images with the same dimensions in a grid?

enter image description here

Now, I would like to use Manipulate [] to have a button that, when pressed generate a new composition, "re-run" the code.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Do you actually need a Manipulate expression, or is this sufficient?

DynamicModule[{x = Null}, Column[{
   Button["Shuffle Images", 
    x = ImageAssemble[
      Partition[
       RandomSample[
        Flatten@{DarkBlueB, DarkBlueC, DarkBlueN, DarkBlueE}, 20], 5]]
    ],
   Dynamic[x]
}]]
share|improve this answer
    
this is so cool ! Later I will add sophistications but for now tho is real good ! –  500 Feb 2 '12 at 12:26
    
How can I adjust the width of both items ? I tried to use ItemSize in the column but it does not work. The ImageAssemble appear smaller than it should for now. –  500 Feb 2 '12 at 13:12
    
@500 please try Image[ImageAssemble[ ... ], Magnification -> 1] –  Mr.Wizard Feb 3 '12 at 4:57
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.