From fddc2016d1ecea502f443b963de67f82ee9424fe Mon Sep 17 00:00:00 2001 From: katherine Date: Thu, 11 Feb 2021 01:00:26 -0700 Subject: screenshots --- 03-wolfrand/screenshot.gif | Bin 244161 -> 128974 bytes 03-wolfrand/src/main.c | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '03-wolfrand') diff --git a/03-wolfrand/screenshot.gif b/03-wolfrand/screenshot.gif index 36a3b73..fd8ad07 100644 Binary files a/03-wolfrand/screenshot.gif and b/03-wolfrand/screenshot.gif differ diff --git a/03-wolfrand/src/main.c b/03-wolfrand/src/main.c index 5bf9578..4d4fa34 100644 --- a/03-wolfrand/src/main.c +++ b/03-wolfrand/src/main.c @@ -11,7 +11,7 @@ #define DISP_WIDTH 640 #define DISP_HEIGHT 480 -#define FPS 3.0 +#define FPS 3.3 #define DO_INIT(check, desc) \ if (!(check)) { \ @@ -126,7 +126,7 @@ int main(int argc, char **argv) memset(bits[1], 0, (DISP_HEIGHT - 1) * DISP_WIDTH / 8); for (x = 1; x < DISP_WIDTH - 1; x++) { - if (randombytes_random() < 0x80000000) + if (randombytes_random() < 0x20000000) bit_toggle(bits[0], x); } -- cgit v1.2.3