add example, update readme

This commit is contained in:
ngradwohl
2019-07-21 04:06:12 +02:00
parent b87d73c9b5
commit 70c8625db7
2 changed files with 12 additions and 0 deletions

11
examples/osc1.lisp Normal file
View File

@@ -0,0 +1,11 @@
(clear)
(def x (of (osc "/test") "args" "0" "value"))
(def y (of (osc "/test") "args" "1" "value"))
(def r (of (osc "/test") "args" "2" "value"))
(fill
(circle x y r)
"red")
(stroke
(circle x y r)
5 "white")