loadFont(path);
Load a font face
Arguments
path
The font path on the local systemfunction setup()
createWindow(600, 600);
myfont = loadFont('/path/to/myfont.ttf');
end
function draw()
background(51);
textFont(myfont);
text('Hello from lu5!', 30, 50);
end