Guile agar

This commit is contained in:
2026-03-31 19:52:07 -05:00
commit 4ea0e7933e
6 changed files with 93 additions and 0 deletions

10
examples/boids.scm Normal file
View File

@@ -0,0 +1,10 @@
(use-modules (agar core)
(agar gui))
(define* (main #:rest args)
(init-core "Boids Example" 0)
(init-graphics)
(let* ([window (window-new &window-main)]
[label (label-new window 0 "Hello!")])
(window-show window)
(event-loop)))