diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-06-05 21:17:23 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-06-05 23:12:13 -0700 |
commit | b5d3095c923ba8ce7ee07bc2666e42a9a1f483af (patch) | |
tree | e866f37c14d523f186db9c4cdf820fe034af8803 | |
parent | 79a80f77745fb4da0183a794096528fd1f895888 (diff) | |
download | mu-b5d3095c923ba8ce7ee07bc2666e42a9a1f483af.tar.gz |
shell: cool new stress-test
-rw-r--r-- | shell/data.limg | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/shell/data.limg b/shell/data.limg index de093dee..9e7c1954 100644 --- a/shell/data.limg +++ b/shell/data.limg @@ -125,8 +125,16 @@ (for y r (< y ymax) (+= y side) (for x r (< x xmax) (+= x side) (circle_rainbow screen x y (- r 100) 10)))))))]) + (task . [(def (task screen) + (let xmax (width screen) + (let ymax (height screen) + (for y 0 (< y ymax) (+= y 1) + (for x 4 (< x xmax) (+= x 1) + (pixel screen x y + # color + (+ (* x x) (* y y))))))))]) (main . [(def (main screen keyboard) - (bowboard screen 128))]) + (task screen))]) )) - (sandbox . (+ 3 4)) + (sandbox . (task screen)) ) |