text

v0.1.7
text(str, x, y);

Draw text on the screen.

Arguments

strString to render
xThe x position of the start of the text
yThe y position of the top of the text

Fonts are not yet implemented

function setup()
  createWindow(200, 200);
end

function draw()
  background('purple');

  text('Hello from lu5!', 25, 110);
end

Output

See text in typography.h