diff options
| author | LLLL Colonq <llll@colonq> | 2025-09-16 01:33:43 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-09-16 01:33:43 -0400 |
| commit | fe903c535211bdbeeb703e06db0da3f7c8c19b4b (patch) | |
| tree | 66c383a14eb92f61df32f2407719a761e4c2ed16 /src/wasp-overlay.el | |
| parent | 9dec5e4d54ecbfb84ef8eba727b44bb6435f6e40 (diff) | |
Update
Diffstat (limited to 'src/wasp-overlay.el')
| -rw-r--r-- | src/wasp-overlay.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wasp-overlay.el b/src/wasp-overlay.el index c4e63e3b..e902eb3d 100644 --- a/src/wasp-overlay.el +++ b/src/wasp-overlay.el @@ -45,5 +45,14 @@ (w/get-heartrate) ))) +(defun w/overlay-automata (user s &optional color) + "Send a cellular automata S from USER in RLE format to the overlay. +Optionally, make the cells be COLOR." + (w/pub '(avatar automata spawn) + (list + (w/encode-string s) + (w/encode-string user) + (w/encode-string (or color (w/random-color)))))) + (provide 'wasp-overlay) ;;; wasp-overlay.el ends here |
