Skip to content

Free Motion Capture for Everyone πŸ’€βœ¨

TypeScript

playing with rerun visualization method

jonmatthisd9256945dc8d
diff --git a/experimental/rerun_playground.py b/experimental/rerun_playground.py
new file mode 100644
index 00000000..fa64ab5a
--- /dev/null
+++ b/experimental/rerun_playground.py
@@ -0,0 +1,15 @@
+import rerun as rr
+import numpy as np
+
+rr.init("rerun_example_my_data", spawn=True)
+
+positions = np.zeros((10, 3))
+positions[:,0] = np.linspace(-10,10,10)
+
+colors = np.zeros((10,3), dtype=np.uint8)
+colors[:,0] = np.linspace(0,255,10)
+
+rr.log(
+ "my_points",
+ rr.Points3D(positions, colors=colors, radii=0.5)
+)