Skip to main content
Participant
September 21, 2022
Frage

How to color each tile with real mosaic tiles

  • September 21, 2022
  • 1 Antwort
  • 378 Ansichten

 Hello guys and girls,

So I have this mosaic, where each tile is a sepparate object. Is there any way I could color each tile with images of real mosaic tiles? I used pattern swatches but the pattern is not filling only one tile but the whole group of the same color; is it possible to make the pattern swatch work individually for each tile and also rotate with the object?

Dieses Thema wurde für Antworten geschlossen.

1 Antwort

Mike_Gondek10189183
Community Expert
Community Expert
September 21, 2022

Your tiles currently are not the same size. If yu wnat them smae size you can use object >> create object mosic and a placed imge.

 

You can  them use a scrip[t  to swap fills with symbols. Jet used to make  scripts on this topic. You can try this one or google for another script.

 

 

https://gist.github.com/rjduran/d8e1f6d3a42572c23be8b63126d8c6aa

 

Participant
September 22, 2022

Thank you for your response, but I cannot make the script to work, as I don't have any coding knowledge

 

renél80416020
Inspiring
September 23, 2022

 

function rect(relativeObject,left,top,larg,haut)
{ //cree un rectangle
 var rect = relativeObject.pathItems.rectangle(top,left,larg,haut);
 return rect;
}

 

ajouter à la fin du script.

De elleere