1
0

test.l 298 B

1234567891011121314
  1. (def demo (fn
  2. (do (mut c 0)
  3. (def a 1024)
  4. (while 1 (do
  5. (mut c (+ 1 (% (+ c 1) 256)))
  6. (mut b 768)
  7. (while (mut b (- b 1))
  8. (do
  9. (mut a 512)
  10. (mut c (+ 1 c))
  11. (while (mut a (- a 1))
  12. (pixel (+ a 512) b (* (+ c a) (/ (* a b) c))))))
  13. (flip))))
  14. ))