From 0122babf081b6129f7448cc5afc7a62c814c90dd Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Fri, 4 Jan 2019 08:23:53 +0100 Subject: [PATCH] introducing time --- UI.pde | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/UI.pde b/UI.pde index 500064a..8770ed9 100644 --- a/UI.pde +++ b/UI.pde @@ -1,5 +1,9 @@ void UI() { textSize(30); - text(int(frameRate), 30, 30); + textAlign(LEFT); + + + text(ft.format(date).toString(), 10, 30); + text("FPS: " + int(frameRate), 10, 60); }