xxxxxxxxxx
27
var font
var input = ["த","\u0C18","ய", " ","\u0c18", "த\u0C5A","\u0c0A","வ"]
//கத\u0C0E அப\u0C5B \u0C39ரா கெ\u0C08டகாதானகே\u0C08டா\u0C19";
function preload() {
font = loadFont("fonts/NotoSansTamil-Regular-Patched.ttf")
}
function setup() {
createCanvas(windowWidth, windowHeight)
smooth()
textFont(font)
textSize(24)
textAlign(CENTER, CENTER)
}
function draw() {
background(255)
fill(0)
for (var i = 0; i < input.length; i++) {
text(input[i], width/2 + i * 24 + i * 5, height/2 );
}
}