changeset 22:a8e56d4f947b

Attempt to limit CPU usage by using frameRate().
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 04 Jul 2018 10:11:12 +0300
parents 028b5ab1d98d
children a076de42c2fc
files multipaint.pde
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/multipaint.pde	Wed Jul 04 10:10:46 2018 +0300
+++ b/multipaint.pde	Wed Jul 04 10:11:12 2018 +0300
@@ -82,6 +82,7 @@
     int i, x, y;
     g_uizoom = 2;
     g_animspeed = 1;
+    frameRate(40);
     g_magpix[0] = 3;
     g_magpix[1] = 8;
     g_magpix[2] = 16;