summaryrefslogtreecommitdiff
path: root/design/mock/fib.c
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-10 17:16:50 -0300
committerGabriel Schneider <[email protected]>2026-11-10 17:56:05 -0300
commit74c45474f7e3e1b3539eb88484e6749082c6addf (patch)
tree29be105369df0b9f5bb92adb50360fd99fd664b8 /design/mock/fib.c
parent47f43f0f26b08901c1ddd16aacbe50c2c843ab8a (diff)
downloadcomputeranim-74c45474f7e3e1b3539eb88484e6749082c6addf.tar.gz
computeranim-74c45474f7e3e1b3539eb88484e6749082c6addf.zip
design: the band is two panels; what the first videos taught
An independent review of the first videos, frame by frame, is placed in the catalogue. A lens is a drawing over the program column and its view over the state column (the dump; the backtrace for calls), which leaves the stack six slots as subject: the frame whole, from rsp to past rbp. Operands are whole. A mark covers the bytes that changed. A pin travels and keeps its side. A call's node is a projection of its return address. Fast passes are veiled. Captions have numbers a scene can be checked by, and a scene's first step comes by four seconds. Effects before causes and panels from different moments are forbidden by name. Mock 12 draws fib(4) calling fib(2) from the recording. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Diffstat (limited to 'design/mock/fib.c')
-rw-r--r--design/mock/fib.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/design/mock/fib.c b/design/mock/fib.c
new file mode 100644
index 0000000..975f1a6
--- /dev/null
+++ b/design/mock/fib.c
@@ -0,0 +1,12 @@
+#include <stdio.h>
+
+long fib(long n) {
+ if (n < 2)
+ return n;
+ return fib(n-1) + fib(n-2);
+}
+
+int main(void) {
+ printf("%ld\n", fib(5));
+ return 0;
+}