3
How to create this text effect?
New Here
,
/t5/illustrator-discussions/how-to-create-this-text-effect/td-p/14243671
Nov 18, 2023
Nov 18, 2023
Copy link to clipboard
Copied
I am trying to achieve the same effect as this.
I'm not sure how to approach this, I require some sort of grid to organize the characters and some sort of fashion to randomize the text with a selected set of symbols.
Any help would be great.
TOPICS
Draw and design
,
Experiment
,
Scripting
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explore related tutorials & articles
Guide
,
LATEST
/t5/illustrator-discussions/how-to-create-this-text-effect/m-p/14244006#M388184
Nov 19, 2023
Nov 19, 2023
Copy link to clipboard
Copied
Below is a simple script for a grid of random symbols. It's a slow running script, so I've limited the number of symbols to 1000. Remove the limit by deleting line 2. Randomly distributed spacing may be achieved with a more complex script.
(200 * 200 mm artboard.)
var limit;
limit = Math.sqrt(1000);
var size = 12; // font (cell) size
var doc = app.activeDocument;
var num_x = doc.width / size;
var num_y = doc.height / size;
if (limit && num_x > limit) num_x = limit;
if (limit && num_y > limit) num_y = limit;
var x = size;
for (var i = 0; i < num_x - 1; i++) {
var y = - size;
for (var j = 0; j < num_y - 1; j++) {
var min = 32;
var max = 127;
var n = Math.floor(Math.random() * (max - min + 1)) + min;
var text = doc.textFrames.pointText( [x, y] );
text.contents = String.fromCharCode(n);
text.textRange.textFont = textFonts["TimesNewRomanPSMT"];
text.textRange.size = size;
text.textRange.justification = Justification.CENTER;
text.rotate(-90);
y = y - size;
}
x = x + size;
}
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

