2

How to produce a effect like this? Adobe Illustrator.

How to produce a effect like this? Adobe Illustrator.

1
  • 2
    This is not a "tutorial on demand" web site. Please share what you have tried and where that may be failing. And please only use relevant tags.
    – Scott
    Aug 16 '21 at 11:20
9

This is called Truchet pattern and can easily be created by using script. Script follows as and rest follow gif tutorial attached. Every time you use this script, effect will be random:

object = app.activeDocument.selection [0] ;

for(j=0; j<40; j++)
{
//make a row
for(i=0; i<40; i++)
  {
    newobject = object.duplicate() ;
    newobject.translate(object.width*(i+1),-object.height*(j+1)) ;
    newobject.rotate(Math.floor(Math.random()*4)*90) ;
  }
}

written truchet script for adobe illustrator_01

written truchet script for adobe illustrator_02

written truchet script for adobe illustrator_03

written truchet script for adobe illustrator_04

7
  • Thanks, what a simple solution. Aug 16 '21 at 13:38
  • @coreladvanced You are more than welcome. Aug 16 '21 at 14:12
  • If you put four spaces before your code it formats it as a code block. (Or select code and press code button in editir to add four spaces). Plese dont bold big blocks of code. Otherwise good answer.
    – joojaa
    Aug 16 '21 at 15:21
  • @joojaa It was copy/paste problem and I did not notice. Thanks for correction though. Aug 16 '21 at 15:27
  • 1
    @Masoud Moghaddam You can save as js (extension) in notepad. Aug 18 '21 at 9:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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