aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2021-02-11 01:00:26 -0700
committerkatherine <ageha@airen-no-jikken.icu>2021-02-11 01:00:26 -0700
commitfddc2016d1ecea502f443b963de67f82ee9424fe (patch)
tree5addeeaf50971f14665f7f724938057f70cb8eac
parent51ba9e5494cb848cd29fa174c0dcea4a5ac96eef (diff)
downloadallegro-sketches-fddc2016d1ecea502f443b963de67f82ee9424fe.tar.gz
screenshots
-rw-r--r--02-wolfautomata/screenshot_01.pngbin21611 -> 0 bytes
-rw-r--r--02-wolfautomata/screenshot_02.pngbin4047 -> 0 bytes
-rw-r--r--03-wolfrand/screenshot.gifbin244161 -> 128974 bytes
-rw-r--r--03-wolfrand/src/main.c4
-rw-r--r--README.md3
5 files changed, 3 insertions, 4 deletions
diff --git a/02-wolfautomata/screenshot_01.png b/02-wolfautomata/screenshot_01.png
deleted file mode 100644
index 8e8f059..0000000
--- a/02-wolfautomata/screenshot_01.png
+++ /dev/null
Binary files differ
diff --git a/02-wolfautomata/screenshot_02.png b/02-wolfautomata/screenshot_02.png
deleted file mode 100644
index ad68d7e..0000000
--- a/02-wolfautomata/screenshot_02.png
+++ /dev/null
Binary files differ
diff --git a/03-wolfrand/screenshot.gif b/03-wolfrand/screenshot.gif
index 36a3b73..fd8ad07 100644
--- a/03-wolfrand/screenshot.gif
+++ b/03-wolfrand/screenshot.gif
Binary files 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);
}
diff --git a/README.md b/README.md
index f79dc08..38148d8 100644
--- a/README.md
+++ b/README.md
@@ -6,8 +6,7 @@
### wolfautomata
-![wolfautomata screenshot 1](https://git.airen-no-jikken.icu/ageha/allegro-sketches/raw/branch/master/02-wolfautomata/screenshot_01.png)
-![wolfautomata screenshot 2](https://git.airen-no-jikken.icu/ageha/allegro-sketches/raw/branch/master/02-wolfautomata/screenshot_02.png)
+![wolfautomata screenshot 1](https://git.airen-no-jikken.icu/ageha/allegro-sketches/raw/branch/master/02-wolfautomata/screenshot.png)
### wolfrand