summaryrefslogtreecommitdiffstats
path: root/theremine
diff options
context:
space:
mode:
authorNiklas Halle <niklas@niklashalle.net>2020-12-03 17:37:01 +0100
committerNiklas Halle <niklas@niklashalle.net>2020-12-03 17:37:01 +0100
commit28d5505edae76ed91708a895815eecf542c23060 (patch)
tree18d88585d30bcfce8e92c3c17881cfe11907a09c /theremine
downloadwdti_project-28d5505edae76ed91708a895815eecf542c23060.tar.gz
wdti_project-28d5505edae76ed91708a895815eecf542c23060.zip
inital, matleap api based on https://github.com/tomh4/matleap
Diffstat (limited to 'theremine')
-rw-r--r--theremine6
1 files changed, 6 insertions, 0 deletions
diff --git a/theremine b/theremine
new file mode 100644
index 0000000..f6f6d72
--- /dev/null
+++ b/theremine
@@ -0,0 +1,6 @@
+while true
+ frame = matleap_frame
+ if ~isempty(frame.hands)
+ pos = frame.hands.palm.stabilized_position
+ end
+end \ No newline at end of file