vuer 0.0.32rc7__py3-none-any.whl → 0.0.32rc23__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of vuer might be problematic. Click here for more details.
- vuer/__pycache__/events.cpython-38.pyc +0 -0
- vuer/__pycache__/server.cpython-38.pyc +0 -0
- vuer/addons/camera_rtc.py +171 -0
- vuer/client_build/404.html +8 -11
- vuer/client_build/assets/chunks/chunk-42690cd5.js +15 -0
- vuer/client_build/assets/chunks/chunk-8db1b443.js +1 -0
- vuer/client_build/assets/chunks/chunk-9ee83150.js +220 -0
- vuer/client_build/assets/chunks/chunk-B5NqXhlg.js +2 -0
- vuer/client_build/assets/chunks/chunk-B5NqXhlg.js.map +1 -0
- vuer/client_build/assets/chunks/chunk-CmlEsaFt.js +6816 -0
- vuer/client_build/assets/chunks/chunk-CmlEsaFt.js.map +1 -0
- vuer/client_build/assets/chunks/chunk-DAfdqQjW.js +16 -0
- vuer/client_build/assets/chunks/chunk-DAfdqQjW.js.map +1 -0
- vuer/client_build/assets/chunks/chunk-DM5X-Fsx.js +53 -0
- vuer/client_build/assets/chunks/chunk-DM5X-Fsx.js.map +1 -0
- vuer/client_build/assets/chunks/chunk-DT-Gzcc9.js +102 -0
- vuer/client_build/assets/chunks/chunk-DT-Gzcc9.js.map +1 -0
- vuer/client_build/assets/chunks/chunk-af3ddd0a.js +6786 -0
- vuer/client_build/assets/chunks/chunk-bbf8b6fc.js +85 -0
- vuer/client_build/assets/chunks/chunk-mF18BbkE.js +3 -0
- vuer/client_build/assets/chunks/chunk-mF18BbkE.js.map +1 -0
- vuer/client_build/assets/entries/entry-client-routing.3c853994.js +2 -0
- vuer/client_build/assets/entries/entry-client-routing.DcliWhPk.js +5 -0
- vuer/client_build/assets/entries/entry-client-routing.DcliWhPk.js.map +1 -0
- vuer/client_build/assets/entries/entry-server-routing.40c0fcc6.js +1 -0
- vuer/client_build/assets/entries/pages_editor.dxxI6p1y.js +2 -0
- vuer/client_build/assets/entries/pages_editor.dxxI6p1y.js.map +1 -0
- vuer/client_build/assets/entries/pages_error.CLFwp4P1.js +2 -0
- vuer/client_build/assets/entries/pages_error.CLFwp4P1.js.map +1 -0
- vuer/client_build/assets/entries/pages_hands.page.8bc91e13.js +1 -0
- vuer/client_build/assets/entries/pages_index.cBvCoMtg.js +2 -0
- vuer/client_build/assets/entries/pages_index.cBvCoMtg.js.map +1 -0
- vuer/client_build/assets/entries/pages_index.page.041ef5af.js +97 -0
- vuer/client_build/assets/entries/pages_simple.DNtn6Zih.js +2 -0
- vuer/client_build/assets/entries/pages_simple.DNtn6Zih.js.map +1 -0
- vuer/client_build/assets/entries/pages_stereo_plane.page.186386ed.js +54 -0
- vuer/client_build/assets/entries/pages_video_plane.page.9303749c.js +1 -0
- vuer/client_build/assets/static/editor.e6iYOnjc.css +1 -0
- vuer/client_build/assets/static/index.CdgWIjKL.css +1 -0
- vuer/client_build/assets/static/logo.2_7Lo9tV.svg +36 -0
- vuer/client_build/assets/static/onRenderClient.DQ-loHhw.css +1 -0
- vuer/client_build/editor/index.html +17 -0
- vuer/client_build/editor/index.pageContext.json +1 -0
- vuer/client_build/hands/index.html +3 -3
- vuer/client_build/index.html +10 -13
- vuer/client_build/index.pageContext.json +1 -1
- vuer/client_build/pages/_error/+Page.d.ts +2 -0
- vuer/client_build/pages/editor/+Page.d.ts +1 -0
- vuer/client_build/pages/index/+Page.d.ts +2 -0
- vuer/client_build/pages/simple/+Page.d.ts +1 -0
- vuer/client_build/renderer/+config.d.ts +45 -0
- vuer/client_build/renderer/+onHydrationEnd.d.ts +3 -0
- vuer/client_build/renderer/+onPageTransitionEnd.d.ts +3 -0
- vuer/client_build/renderer/+onPageTransitionStart.d.ts +3 -0
- vuer/client_build/renderer/+onRenderClient.d.ts +2 -0
- vuer/client_build/renderer/+onRenderHtml.d.ts +2 -0
- vuer/client_build/renderer/Layout.d.ts +6 -0
- vuer/client_build/renderer/Link.d.ts +7 -0
- vuer/client_build/renderer/PageContext.d.ts +19 -0
- vuer/client_build/renderer/getPageTitle.d.ts +3 -0
- vuer/client_build/renderer/useData.d.ts +2 -0
- vuer/client_build/renderer/usePageContext.d.ts +9 -0
- vuer/client_build/simple/index.html +16 -0
- vuer/client_build/simple/index.pageContext.json +1 -0
- vuer/client_build/stereo_plane/index.html +3 -3
- vuer/client_build/video_plane/index.html +3 -3
- vuer/events.py +25 -7
- vuer/schemas/__init__.py +1 -0
- vuer/schemas/__pycache__/__init__.cpython-38.pyc +0 -0
- vuer/schemas/__pycache__/physics_components.cpython-38.pyc +0 -0
- vuer/schemas/__pycache__/scene_components.cpython-38.pyc +0 -0
- vuer/schemas/physics_components.py +19 -0
- vuer/schemas/scene_components.py +28 -3
- vuer/schemas/timeline_components.py +0 -0
- {vuer-0.0.32rc7.dist-info → vuer-0.0.32rc23.dist-info}/METADATA +16 -1
- {vuer-0.0.32rc7.dist-info → vuer-0.0.32rc23.dist-info}/RECORD +80 -19
- {vuer-0.0.32rc7.dist-info → vuer-0.0.32rc23.dist-info}/LICENSE +0 -0
- {vuer-0.0.32rc7.dist-info → vuer-0.0.32rc23.dist-info}/WHEEL +0 -0
- {vuer-0.0.32rc7.dist-info → vuer-0.0.32rc23.dist-info}/entry_points.txt +0 -0
- {vuer-0.0.32rc7.dist-info → vuer-0.0.32rc23.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="175" height="175" fill="none" version="1.1" viewBox="0 0 175 175" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
|
3
|
+
<metadata>
|
|
4
|
+
<rdf:RDF>
|
|
5
|
+
<cc:Work rdf:about="">
|
|
6
|
+
<dc:format>image/svg+xml</dc:format>
|
|
7
|
+
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
|
8
|
+
<dc:title/>
|
|
9
|
+
</cc:Work>
|
|
10
|
+
</rdf:RDF>
|
|
11
|
+
</metadata>
|
|
12
|
+
<defs>
|
|
13
|
+
<linearGradient id="linearGradient880" x1="108.64" x2="115.51" y1="88.726" y2="136.2" gradientTransform="matrix(1.0498 0 0 1.0498 -2.9171 -2.9658)" gradientUnits="userSpaceOnUse">
|
|
14
|
+
<stop stop-color="#ffea83" offset="0"/>
|
|
15
|
+
<stop stop-color="#FFDD35" offset=".083333"/>
|
|
16
|
+
<stop stop-color="#FFA800" offset="1"/>
|
|
17
|
+
</linearGradient>
|
|
18
|
+
<linearGradient id="paint2_linear" x1="48.975" x2="61.299" y1="3.9232" y2="158.04" gradientTransform="translate(-2.832e-5)" gradientUnits="userSpaceOnUse">
|
|
19
|
+
<stop stop-color="#FFEA83" offset="0"/>
|
|
20
|
+
<stop stop-color="#FFDD35" offset=".083333"/>
|
|
21
|
+
<stop stop-color="#FFA800" offset="1"/>
|
|
22
|
+
</linearGradient>
|
|
23
|
+
<linearGradient id="paint0_linear-6" x1="-1.4492" x2="116.62" y1="-5.8123" y2="137.08" gradientTransform="translate(-2.832e-5)" gradientUnits="userSpaceOnUse">
|
|
24
|
+
<stop stop-color="#41D1FF" offset="0"/>
|
|
25
|
+
<stop stop-color="#BD34FE" offset="1"/>
|
|
26
|
+
</linearGradient>
|
|
27
|
+
</defs>
|
|
28
|
+
<circle cx="87.5" cy="87.5" r="87.5" fill="#c4c4c4"/>
|
|
29
|
+
<circle cx="87.5" cy="87.5" r="87.5" fill="url(#paint0_linear-6)"/>
|
|
30
|
+
<g transform="translate(632.92 54.355)" fill="#d38787" stroke-width="1.0614">
|
|
31
|
+
<path d="m-549.75 68.457c-5.7533-3.1217-6.1166-5.2295-6.1166-35.489 0-30.458 0.35464-32.448 6.3339-35.54 3.9943-2.0655 24.279-2.2805 26.735-0.28333 0.89718 0.72974 6.7203 6.6637 12.94 13.187l11.309 11.86v19.575c0 18.473-0.12956 19.74-2.3011 22.5-4.0223 5.1136-7.558 5.8565-27.65 5.8099-14.15-0.03287-19.008-0.40294-21.25-1.6191zm42.473-6.3594c2.27-1.59 2.359-2.2909 2.359-18.575v-16.923h-6.9521c-12.443 0-16.4-4.0845-16.4-16.93v-7.4828h-8.9464c-6.7178 0-9.3619 0.41549-10.614 1.668-2.5031 2.5031-2.5031 55.724 0 58.228 2.4502 2.4502 37.058 2.4636 40.553 0.01609zm-1.8867-42.165c0-0.16422-2.8659-3.1346-6.3686-6.6008l-6.3686-6.3022v4.9328c0 6.3185 1.8955 8.2687 8.0366 8.2687 2.5854 0 4.7007-0.13434 4.7007-0.29859zm-57.57 44.279c-5.6185-3.0486-6.1166-5.593-6.1166-31.243 0-18.891 0.31331-24.063 1.6101-26.571 1.809-3.4981 6.5048-6.3339 10.489-6.3339 2.4847 0 2.5814 0.19984 1.541 3.1843-0.61054 1.7514-1.7457 3.1843-2.5226 3.1843-0.77686 0-2.1631 0.75059-3.0805 1.668-2.4923 2.4923-2.4923 47.244 0 49.736 0.91739 0.9174 2.3036 1.668 3.0805 1.668 0.77688 0 1.912 1.4329 2.5226 3.1843 1.0562 3.0298 0.97108 3.1822-1.7537 3.1418-1.575-0.02331-4.1713-0.75194-5.7694-1.6191zm-16.983-4.2458c-5.4392-2.9512-6.1166-5.9415-6.1166-26.997 0-15.096 0.345-19.878 1.6101-22.325 1.7476-3.3796 6.4758-6.3339 10.137-6.3339 1.8666 0 2.1789 0.44955 1.6594 2.3882-0.35184 1.3135-0.64655 2.7465-0.65453 3.1843-8e-3 0.43784-0.69682 0.79608-1.5308 0.79608-0.83399 0-2.2669 0.75059-3.1843 1.668-2.4767 2.4767-2.4767 38.768 0 41.244 0.91741 0.91739 2.2946 1.668 3.0605 1.668 1.196 0 2.6402 2.995 2.6871 5.5726 0.0241 1.3294-4.5804 0.80962-7.6676-0.8655z" style="mix-blend-mode:lighten"/>
|
|
32
|
+
<path d="m-552.2 68.911c-5.7533-3.1217-6.1166-5.2295-6.1166-35.489 0-30.458 0.35463-32.448 6.3339-35.54 3.9943-2.0655 24.279-2.2805 26.735-0.28333 0.89718 0.72974 6.7203 6.6637 12.94 13.187l11.309 11.86v19.575c0 18.473-0.12957 19.74-2.3011 22.5-4.0223 5.1136-7.558 5.8565-27.65 5.8099-14.15-0.03287-19.008-0.40294-21.25-1.6191zm42.473-6.3594c2.27-1.59 2.359-2.2909 2.359-18.575v-16.923h-6.952c-12.443 0-16.4-4.0845-16.4-16.93v-7.4828h-8.9464c-6.7179 0-9.3619 0.41549-10.614 1.668-2.5031 2.5031-2.5031 55.724 0 58.228 2.4502 2.4502 37.058 2.4636 40.553 0.01609zm-1.8867-42.165c0-0.16422-2.8659-3.1346-6.3686-6.6008l-6.3686-6.3022v4.9328c0 6.3185 1.8955 8.2688 8.0366 8.2688 2.5854 0 4.7007-0.13434 4.7007-0.29859zm-57.57 44.279c-5.6185-3.0486-6.1166-5.593-6.1166-31.243 0-18.891 0.31331-24.063 1.6101-26.571 1.809-3.4981 6.5048-6.3339 10.489-6.3339 2.4847 0 2.5814 0.19984 1.541 3.1843-0.61054 1.7514-1.7457 3.1843-2.5226 3.1843-0.77687 0-2.1631 0.75059-3.0805 1.668-2.4923 2.4923-2.4923 47.244 0 49.736 0.91741 0.91739 2.3036 1.668 3.0805 1.668 0.77686 0 1.912 1.4329 2.5226 3.1843 1.0562 3.0298 0.97107 3.1822-1.7537 3.1418-1.575-0.02331-4.1713-0.75194-5.7694-1.6191zm-16.983-4.2458c-5.4392-2.9512-6.1166-5.9415-6.1166-26.997 0-15.096 0.34502-19.878 1.6101-22.325 1.7476-3.3796 6.4758-6.3339 10.137-6.3339 1.8666 0 2.1789 0.44955 1.6594 2.3882-0.35182 1.3135-0.64653 2.7465-0.65452 3.1843-8e-3 0.43784-0.69683 0.79608-1.5308 0.79608-0.83397 0-2.2669 0.75059-3.1843 1.668-2.4767 2.4767-2.4767 38.768 0 41.245 0.9174 0.91739 2.2946 1.668 3.0605 1.668 1.196 0 2.6402 2.995 2.6871 5.5726 0.0241 1.3294-4.5804 0.80962-7.6676-0.8655z" fill-opacity=".47466" style="mix-blend-mode:lighten"/>
|
|
33
|
+
</g>
|
|
34
|
+
<path d="m128.48 88.913-24.027 4.6784c-0.39475 0.07685-0.68766 0.40944-0.71076 0.80849l-1.4782 24.805c-0.0347 0.58371 0.50497 1.0372 1.0792 0.90602l6.6886-1.5338c0.62676-0.14383 1.1916 0.40419 1.0635 1.0299l-1.9874 9.6702c-0.13438 0.65091 0.48084 1.2073 1.1202 1.0142l4.1322-1.2472c0.64041-0.19317 1.2556 0.36535 1.1202 1.0162l-3.158 15.191c-0.19842 0.95011 1.074 1.4677 1.6042 0.653l0.35485-0.54382 19.578-38.827c0.32755-0.64985-0.23727-1.391-0.95641-1.2535l-6.8849 1.3207c-0.6467 0.12389-1.1979-0.47453-1.0152-1.1034l4.4944-15.482c0.18266-0.63012-0.36955-1.2295-1.0173-1.1034z" fill="url(#linearGradient880)" stroke-width="1.0498"/>
|
|
35
|
+
<rect x="3" y="3" width="169" height="169" rx="84.5" stroke="url(#paint2_linear)" stroke-width="6" style="mix-blend-mode:soft-light"/>
|
|
36
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
body{margin:0;font-family:sans-serif}*{box-sizing:border-box}a{text-decoration:none}code{font-family:monospace;background-color:#eaeaea;padding:3px 5px;border-radius:4px}#page-container{position:relative;width:100%}#page-container:before{content:"";position:absolute;width:100%;height:100%;z-index:999;background:no-repeat url("data:image/svg+xml,%3csvg%20version='1.1'%20id='L9'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20100%20100'%20enable-background='new%200%200%200%200'%20xml:space='preserve'%3e%3cpath%20fill='%23aaa'%20d='M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50%20M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50'%3e%3canimateTransform%20attributeName='transform'%20attributeType='XML'%20type='rotate'%20dur='1s'%20from='0%2050%2050'%20to='360%2050%2050'%20repeatCount='indefinite'%3e%3c/animateTransform%3e%3c/path%3e%3c/svg%3e");background-size:100px;background-position:center center;pointer-events:none;opacity:0}body.page-is-transitioning #page-container:before{opacity:1}#page-content,#page-container:before{transition:opacity .5s ease-in-out}body.page-is-transitioning #page-content{opacity:.17}#sidebar a{padding:2px 10px;margin-left:-10px}#sidebar a.is-active{background-color:#eee}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<link rel="stylesheet" type="text/css" href="/assets/static/onRenderClient.DQ-loHhw.css">
|
|
5
|
+
<link rel="stylesheet" type="text/css" href="/assets/static/editor.e6iYOnjc.css">
|
|
6
|
+
<title>Vuer.AI</title>
|
|
7
|
+
</head>
|
|
8
|
+
<body>
|
|
9
|
+
<div id="react-root"><div id="react-root" style="padding:0;height:100%;width:100%"><main><div class="leva-c-kWgxhW leva-c-kWgxhW-bCBHqk-fill-false leva-c-kWgxhW-eXrJvq-flat-false leva-c-kWgxhW-czBHep-hideTitleBar-false leva-t-crYJWz" style="display:none"><div class="leva-c-hwBXYF leva-c-hwBXYF-kbKHjH-mode-drag"><i class="leva-c-ctBOWy"><svg width="12" height="8" viewBox="0 0 9 5" xmlns="http://www.w3.org/2000/svg" style="transform:rotate(0deg)" class="leva-c-cHvNmv"><path d="M3.8 4.4c.4.3 1 .3 1.4 0L8 1.7A1 1 0 007.4 0H1.6a1 1 0 00-.7 1.7l3 2.7z"></path></svg></i><div class="leva-c-iLtnIm leva-c-iLtnIm-bOgTWZ-drag-true"><svg width="20" height="10" viewBox="0 0 28 14" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2"></circle><circle cx="14" cy="2" r="2"></circle><circle cx="26" cy="2" r="2"></circle><circle cx="2" cy="12" r="2"></circle><circle cx="14" cy="12" r="2"></circle><circle cx="26" cy="12" r="2"></circle></svg></div><i class="leva-c-ctBOWy"><svg xmlns="http://www.w3.org/2000/svg" height="20" viewBox="0 0 20 20"><path d="M9 9a2 2 0 114 0 2 2 0 01-4 0z"></path><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-13a4 4 0 00-3.446 6.032l-2.261 2.26a1 1 0 101.414 1.415l2.261-2.261A4 4 0 1011 5z" clip-rule="evenodd"></path></svg></i></div><div class="leva-c-fxiFTg leva-c-fxiFTg-dbaoCM-toggled-false"><input placeholder="[Open filter with CMD+SHIFT+L]" class="leva-c-iYYzmZ" value=""/><i style="visibility:hidden" class="leva-c-ctBOWy"><svg xmlns="http://www.w3.org/2000/svg" height="14" width="14" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z" clip-rule="evenodd"></path></svg></i></div></div></main></div></div>
|
|
10
|
+
<script id="vike_pageContext" type="application/json">{"someAsyncProps":42,"abortReason":"!undefined","_urlRewrite":null,"_urlRedirect":"!undefined","abortStatusCode":"!undefined","_abortCall":"!undefined","_pageContextInitIsPassedToClient":"!undefined","_pageId":"/pages/editor","routeParams":{},"data":"!undefined"}</script>
|
|
11
|
+
<script src="/assets/entries/entry-client-routing.DcliWhPk.js" type="module" async></script>
|
|
12
|
+
<link rel="modulepreload" href="/assets/entries/pages_editor.dxxI6p1y.js" as="script" type="text/javascript">
|
|
13
|
+
<link rel="modulepreload" href="/assets/chunks/chunk-DM5X-Fsx.js" as="script" type="text/javascript">
|
|
14
|
+
<link rel="modulepreload" href="/assets/chunks/chunk-CmlEsaFt.js" as="script" type="text/javascript">
|
|
15
|
+
<link rel="modulepreload" href="/assets/chunks/chunk-B5NqXhlg.js" as="script" type="text/javascript">
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"someAsyncProps":42,"abortReason":"!undefined","_urlRewrite":null,"_urlRedirect":"!undefined","abortStatusCode":"!undefined","_abortCall":"!undefined","_pageContextInitIsPassedToClient":"!undefined","_pageId":"/pages/editor","routeParams":{},"data":"!undefined"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
</head>
|
|
7
7
|
<body>
|
|
8
8
|
<div id="page-view"><div>Loading...</div></div>
|
|
9
|
-
<script type="module" src="/assets/entries/entry-client-routing.
|
|
10
|
-
<link rel="modulepreload" href="/assets/entries/pages_hands.page.
|
|
9
|
+
<script type="module" src="/assets/entries/entry-client-routing.3c853994.js" defer></script>
|
|
10
|
+
<link rel="modulepreload" href="/assets/entries/pages_hands.page.8bc91e13.js" as="script" type="text/javascript">
|
|
11
11
|
<link rel="modulepreload" href="/assets/chunks/chunk-3010a972.js" as="script" type="text/javascript">
|
|
12
|
-
<link rel="modulepreload" href="/assets/chunks/chunk-
|
|
12
|
+
<link rel="modulepreload" href="/assets/chunks/chunk-af3ddd0a.js" as="script" type="text/javascript">
|
|
13
13
|
<link rel="modulepreload" href="/assets/chunks/chunk-cf010ec4.js" as="script" type="text/javascript">
|
|
14
14
|
<link rel="modulepreload" href="/assets/chunks/chunk-d9bdcef8.js" as="script" type="text/javascript">
|
|
15
15
|
<link rel="modulepreload" href="/assets/entries/renderer_default.page.client.9822d975.js" as="script" type="text/javascript">
|
vuer/client_build/index.html
CHANGED
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
|
-
<link rel="stylesheet" type="text/css" href="/assets/static/
|
|
5
|
-
<
|
|
4
|
+
<link rel="stylesheet" type="text/css" href="/assets/static/onRenderClient.DQ-loHhw.css">
|
|
5
|
+
<link rel="stylesheet" type="text/css" href="/assets/static/index.CdgWIjKL.css">
|
|
6
|
+
<title>Vuer.AI</title>
|
|
6
7
|
</head>
|
|
7
8
|
<body>
|
|
8
|
-
<div id="
|
|
9
|
-
<script
|
|
10
|
-
<
|
|
11
|
-
<link rel="modulepreload" href="/assets/
|
|
12
|
-
<link rel="modulepreload" href="/assets/chunks/chunk-
|
|
13
|
-
<link rel="modulepreload" href="/assets/chunks/chunk-
|
|
14
|
-
<link rel="modulepreload" href="/assets/chunks/chunk-
|
|
15
|
-
<link rel="modulepreload" href="/assets/chunks/chunk-98964cd2.js" as="script" type="text/javascript">
|
|
16
|
-
<link rel="modulepreload" href="/assets/entries/renderer_default.page.client.9822d975.js" as="script" type="text/javascript">
|
|
17
|
-
<link rel="modulepreload" href="/assets/chunks/chunk-3d735b94.js" as="script" type="text/javascript">
|
|
18
|
-
<script id="vike_pageContext" type="application/json">{"pageProps":"!undefined","documentProps":"!undefined","someAsyncProps":42,"abortReason":"!undefined","_urlRewrite":null,"_urlRedirect":"!undefined","abortStatusCode":"!undefined","_abortCall":"!undefined","_pageContextInitHasClientData":"!undefined","_pageId":"/pages/index"}</script>
|
|
9
|
+
<div id="react-root"><div id="react-root" style="padding:0;height:100%;width:100%"><main class="_main_ct6c1_1"></main></div></div>
|
|
10
|
+
<script id="vike_pageContext" type="application/json">{"someAsyncProps":42,"abortReason":"!undefined","_urlRewrite":null,"_urlRedirect":"!undefined","abortStatusCode":"!undefined","_abortCall":"!undefined","_pageContextInitIsPassedToClient":"!undefined","_pageId":"/pages/index","routeParams":{},"data":"!undefined"}</script>
|
|
11
|
+
<script src="/assets/entries/entry-client-routing.DcliWhPk.js" type="module" async></script>
|
|
12
|
+
<link rel="modulepreload" href="/assets/entries/pages_index.cBvCoMtg.js" as="script" type="text/javascript">
|
|
13
|
+
<link rel="modulepreload" href="/assets/chunks/chunk-DM5X-Fsx.js" as="script" type="text/javascript">
|
|
14
|
+
<link rel="modulepreload" href="/assets/chunks/chunk-CmlEsaFt.js" as="script" type="text/javascript">
|
|
15
|
+
<link rel="modulepreload" href="/assets/chunks/chunk-B5NqXhlg.js" as="script" type="text/javascript">
|
|
19
16
|
</body>
|
|
20
17
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"someAsyncProps":42,"abortReason":"!undefined","_urlRewrite":null,"_urlRedirect":"!undefined","abortStatusCode":"!undefined","_abortCall":"!undefined","_pageContextInitIsPassedToClient":"!undefined","_pageId":"/pages/index","routeParams":{},"data":"!undefined"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Page(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Page(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export declare const config: {
|
|
2
|
+
passToClient: string[];
|
|
3
|
+
clientRouting: true;
|
|
4
|
+
hydrationCanBeAborted: true;
|
|
5
|
+
meta: {
|
|
6
|
+
title: {
|
|
7
|
+
env: {
|
|
8
|
+
server: true;
|
|
9
|
+
client: true;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
dataIsomorph: {
|
|
13
|
+
env: {
|
|
14
|
+
config: true;
|
|
15
|
+
};
|
|
16
|
+
effect({ configDefinedAt, configValue }: {
|
|
17
|
+
configValue: unknown;
|
|
18
|
+
configDefinedAt: import('vike/dist/esm/shared/page-configs/getConfigDefinedAt').ConfigDefinedAt;
|
|
19
|
+
}): {
|
|
20
|
+
meta: {
|
|
21
|
+
data: {
|
|
22
|
+
env: {
|
|
23
|
+
server: true;
|
|
24
|
+
client: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
} | undefined;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
hooksTimeout: {
|
|
32
|
+
data: {
|
|
33
|
+
error: number;
|
|
34
|
+
warning: number;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
declare global {
|
|
39
|
+
namespace Vike {
|
|
40
|
+
interface Config {
|
|
41
|
+
/** The page's `<title>` */
|
|
42
|
+
title?: string;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace Vike {
|
|
4
|
+
interface PageContext {
|
|
5
|
+
Page: Page;
|
|
6
|
+
data?: {
|
|
7
|
+
title?: string;
|
|
8
|
+
};
|
|
9
|
+
config: {
|
|
10
|
+
/** Title defined statically by /pages/some-page/+title.js (or by `export default { title }` in /pages/some-page/+config.js) */
|
|
11
|
+
title?: string;
|
|
12
|
+
};
|
|
13
|
+
abortReason?: string;
|
|
14
|
+
someAsyncProps?: number;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
type Page = () => ReactElement;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PageContext } from 'vike/types';
|
|
3
|
+
export { PageContextProvider };
|
|
4
|
+
export { usePageContext };
|
|
5
|
+
declare function PageContextProvider({ pageContext, children }: {
|
|
6
|
+
pageContext: PageContext;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function usePageContext(): PageContext;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<link rel="stylesheet" type="text/css" href="/assets/static/onRenderClient.DQ-loHhw.css">
|
|
5
|
+
<title>Vuer.AI</title>
|
|
6
|
+
</head>
|
|
7
|
+
<body>
|
|
8
|
+
<div id="react-root"><div id="react-root" style="padding:0;height:100%;width:100%"><main><!--$--><div><h1 class="_listName_1s0ny_1">Simple Component</h1><p>This is cool!</p></div><!--/$--></main></div></div>
|
|
9
|
+
<script id="vike_pageContext" type="application/json">{"someAsyncProps":42,"abortReason":"!undefined","_urlRewrite":null,"_urlRedirect":"!undefined","abortStatusCode":"!undefined","_abortCall":"!undefined","_pageContextInitIsPassedToClient":"!undefined","_pageId":"/pages/simple","routeParams":{},"data":"!undefined"}</script>
|
|
10
|
+
<script src="/assets/entries/entry-client-routing.DcliWhPk.js" type="module" async></script>
|
|
11
|
+
<link rel="modulepreload" href="/assets/entries/pages_simple.DNtn6Zih.js" as="script" type="text/javascript">
|
|
12
|
+
<link rel="modulepreload" href="/assets/chunks/chunk-DM5X-Fsx.js" as="script" type="text/javascript">
|
|
13
|
+
<link rel="modulepreload" href="/assets/chunks/chunk-CmlEsaFt.js" as="script" type="text/javascript">
|
|
14
|
+
<link rel="modulepreload" href="/assets/chunks/chunk-B5NqXhlg.js" as="script" type="text/javascript">
|
|
15
|
+
</body>
|
|
16
|
+
</html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"someAsyncProps":42,"abortReason":"!undefined","_urlRewrite":null,"_urlRedirect":"!undefined","abortStatusCode":"!undefined","_abortCall":"!undefined","_pageContextInitIsPassedToClient":"!undefined","_pageId":"/pages/simple","routeParams":{},"data":"!undefined"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
</head>
|
|
7
7
|
<body>
|
|
8
8
|
<div id="page-view"><div>Loading...</div></div>
|
|
9
|
-
<script type="module" src="/assets/entries/entry-client-routing.
|
|
10
|
-
<link rel="modulepreload" href="/assets/entries/pages_stereo_plane.page.
|
|
9
|
+
<script type="module" src="/assets/entries/entry-client-routing.3c853994.js" defer></script>
|
|
10
|
+
<link rel="modulepreload" href="/assets/entries/pages_stereo_plane.page.186386ed.js" as="script" type="text/javascript">
|
|
11
11
|
<link rel="modulepreload" href="/assets/chunks/chunk-3010a972.js" as="script" type="text/javascript">
|
|
12
|
-
<link rel="modulepreload" href="/assets/chunks/chunk-
|
|
12
|
+
<link rel="modulepreload" href="/assets/chunks/chunk-af3ddd0a.js" as="script" type="text/javascript">
|
|
13
13
|
<link rel="modulepreload" href="/assets/chunks/chunk-cf010ec4.js" as="script" type="text/javascript">
|
|
14
14
|
<link rel="modulepreload" href="/assets/chunks/chunk-d9bdcef8.js" as="script" type="text/javascript">
|
|
15
15
|
<link rel="modulepreload" href="/assets/chunks/chunk-98964cd2.js" as="script" type="text/javascript">
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
</head>
|
|
7
7
|
<body>
|
|
8
8
|
<div id="page-view"><div>Loading...</div></div>
|
|
9
|
-
<script type="module" src="/assets/entries/entry-client-routing.
|
|
10
|
-
<link rel="modulepreload" href="/assets/entries/pages_video_plane.page.
|
|
9
|
+
<script type="module" src="/assets/entries/entry-client-routing.3c853994.js" defer></script>
|
|
10
|
+
<link rel="modulepreload" href="/assets/entries/pages_video_plane.page.9303749c.js" as="script" type="text/javascript">
|
|
11
11
|
<link rel="modulepreload" href="/assets/chunks/chunk-3010a972.js" as="script" type="text/javascript">
|
|
12
|
-
<link rel="modulepreload" href="/assets/chunks/chunk-
|
|
12
|
+
<link rel="modulepreload" href="/assets/chunks/chunk-af3ddd0a.js" as="script" type="text/javascript">
|
|
13
13
|
<link rel="modulepreload" href="/assets/chunks/chunk-cf010ec4.js" as="script" type="text/javascript">
|
|
14
14
|
<link rel="modulepreload" href="/assets/chunks/chunk-d9bdcef8.js" as="script" type="text/javascript">
|
|
15
15
|
<link rel="modulepreload" href="/assets/entries/renderer_default.page.client.9822d975.js" as="script" type="text/javascript">
|
vuer/events.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
from
|
|
1
|
+
from datetime import datetime as Datetime, timedelta as Timedelta
|
|
2
|
+
from typing import List, Union
|
|
2
3
|
from uuid import uuid4
|
|
3
4
|
|
|
4
|
-
from vuer.schemas import Scene
|
|
5
|
-
from vuer.schemas import Element
|
|
5
|
+
from vuer.schemas import Scene, Element
|
|
6
6
|
from vuer.serdes import serializer
|
|
7
7
|
|
|
8
8
|
|
|
@@ -11,6 +11,13 @@ class Event:
|
|
|
11
11
|
An event is a message sent from the server to the client.
|
|
12
12
|
"""
|
|
13
13
|
|
|
14
|
+
ts: float
|
|
15
|
+
"""
|
|
16
|
+
timestamp is a float representing the UTC datetime. Msgpack natively
|
|
17
|
+
supports this. `datetime`'s Datetime class is significantly more
|
|
18
|
+
complex as it includes timezone information.
|
|
19
|
+
"""
|
|
20
|
+
|
|
14
21
|
def __eq__(self, etype):
|
|
15
22
|
"""
|
|
16
23
|
Check if the event is of a certain type.
|
|
@@ -26,7 +33,12 @@ class ClientEvent(Event):
|
|
|
26
33
|
def __repr__(self):
|
|
27
34
|
return f"client<{self.etype}>({self.value})"
|
|
28
35
|
|
|
29
|
-
def __init__(self, etype=None, **kwargs):
|
|
36
|
+
def __init__(self, etype=None, ts=None, **kwargs):
|
|
37
|
+
if ts is None:
|
|
38
|
+
self.ts = Datetime.timestamp(Datetime.now())
|
|
39
|
+
else:
|
|
40
|
+
self.ts = Datetime.fromtimestamp(ts / 1000)
|
|
41
|
+
|
|
30
42
|
self.etype = etype
|
|
31
43
|
self.__dict__.update(kwargs)
|
|
32
44
|
|
|
@@ -62,7 +74,13 @@ NULL = NullEvent()
|
|
|
62
74
|
|
|
63
75
|
|
|
64
76
|
class ServerEvent(Event): # , metaclass=Meta):
|
|
65
|
-
def __init__(
|
|
77
|
+
def __init__(
|
|
78
|
+
self, data, etype=None, ts: Union[Datetime, Timedelta] = None, **kwargs
|
|
79
|
+
):
|
|
80
|
+
if ts is None:
|
|
81
|
+
self.ts = Datetime.timestamp(Datetime.now())
|
|
82
|
+
else:
|
|
83
|
+
self.ts = Datetime.fromtimestamp(ts / 1000)
|
|
66
84
|
self.data = data
|
|
67
85
|
|
|
68
86
|
if etype is not None:
|
|
@@ -144,7 +162,7 @@ class Add(ServerEvent):
|
|
|
144
162
|
inserts into the root node, but you can specify a parent node to insert into
|
|
145
163
|
via the `to` argument.
|
|
146
164
|
|
|
147
|
-
Note: only supports a single parent key right
|
|
165
|
+
Note: only supports a single parent key right timestamp.
|
|
148
166
|
|
|
149
167
|
Example:
|
|
150
168
|
app.add @ Element(...)
|
|
@@ -182,7 +200,7 @@ class Upsert(ServerEvent):
|
|
|
182
200
|
UPSERT Operator is used to update nodes to new values, when then they do not
|
|
183
201
|
exist, insert new ones to the scene graph.
|
|
184
202
|
|
|
185
|
-
Note: only supports a single parent key right
|
|
203
|
+
Note: only supports a single parent key right timestamp.
|
|
186
204
|
|
|
187
205
|
Example:
|
|
188
206
|
app.upsert @ Element(...)
|
vuer/schemas/__init__.py
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from typing import List
|
|
2
|
+
|
|
3
|
+
from .scene_components import SceneElement
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class MuJoCoProvider(SceneElement):
|
|
7
|
+
tag = "MuJoCoProvider"
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class MuJoCo(SceneElement):
|
|
11
|
+
tag = "MuJoCo"
|
|
12
|
+
# todo: consider adding default component keys here.
|
|
13
|
+
src: str
|
|
14
|
+
assets: List[str] = []
|
|
15
|
+
speed: float = 1.0
|
|
16
|
+
pause: bool = True
|
|
17
|
+
|
|
18
|
+
# Allow adding additional children for the user to control.
|
|
19
|
+
# actually this can be done outside.
|
vuer/schemas/scene_components.py
CHANGED
|
@@ -2,7 +2,6 @@ from typing import List
|
|
|
2
2
|
|
|
3
3
|
import numpy as np
|
|
4
4
|
from numpy.typing import NDArray
|
|
5
|
-
|
|
6
5
|
from vuer.schemas.html_components import BlockElement, Image, Element
|
|
7
6
|
|
|
8
7
|
|
|
@@ -412,6 +411,31 @@ class WebRTCStereoVideoPlane(Image, SceneElement):
|
|
|
412
411
|
tag = "WebRTCStereoVideoPlane"
|
|
413
412
|
|
|
414
413
|
|
|
414
|
+
# class ImagePlane(Image, SceneElement):
|
|
415
|
+
# """For displaying a static image. Just pass in an image object to the first argument."
|
|
416
|
+
#
|
|
417
|
+
# Untested, not taking in images right now.
|
|
418
|
+
# ""
|
|
419
|
+
#
|
|
420
|
+
# tag = "ImagePlane"
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
class Group(SceneElement):
|
|
424
|
+
tag = "VuerGroup"
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
class HemisphereLight(SceneElement):
|
|
428
|
+
tag = "HemisphereLight"
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
class RectAreaLight(SceneElement):
|
|
432
|
+
tag = "RectAreaLight"
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
class Stage(SceneElement):
|
|
436
|
+
tag = "Stage"
|
|
437
|
+
|
|
438
|
+
|
|
415
439
|
class Gamepads(SceneElement):
|
|
416
440
|
tag = "Gamepads"
|
|
417
441
|
|
|
@@ -654,10 +678,11 @@ class DefaultScene(Scene):
|
|
|
654
678
|
endStep=None,
|
|
655
679
|
# default to z-up
|
|
656
680
|
up=[0, 0, 1],
|
|
681
|
+
grid=True,
|
|
657
682
|
**kwargs,
|
|
658
683
|
):
|
|
659
684
|
rawChildren = [
|
|
660
|
-
AmbientLight(intensity=
|
|
685
|
+
AmbientLight(intensity=0.5, key="default_ambient_light"),
|
|
661
686
|
DirectionalLight(
|
|
662
687
|
intensity=1, key="default_directional_light", helper=show_helper
|
|
663
688
|
),
|
|
@@ -679,7 +704,7 @@ class DefaultScene(Scene):
|
|
|
679
704
|
else None,
|
|
680
705
|
],
|
|
681
706
|
PointerControls(),
|
|
682
|
-
Grid(),
|
|
707
|
+
Grid() if grid else None,
|
|
683
708
|
*bgChildren,
|
|
684
709
|
],
|
|
685
710
|
up=up,
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: vuer
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.32rc23
|
|
4
4
|
Home-page: https://github.com/vuer-ai/vuer
|
|
5
5
|
Author: Ge Yang<ge.ike.yang@gmail.com>
|
|
6
6
|
Author-email: ge.ike.yang@gmail.com
|
|
@@ -136,7 +136,22 @@ make docs
|
|
|
136
136
|
```
|
|
137
137
|
This should fire up an http server at the port `8888`, and you can view the documentation at `http://localhost:8888`.
|
|
138
138
|
|
|
139
|
+
## To Cite
|
|
140
|
+
|
|
141
|
+
```bibtex
|
|
142
|
+
@software{vuer,
|
|
143
|
+
author = {Ge Yang},
|
|
144
|
+
title = {{VUER}: A 3D Visualization and Data Collection Environment for Robot Learning},
|
|
145
|
+
version = {},
|
|
146
|
+
publisher = {GitHub},
|
|
147
|
+
url = {https://github.com/vuer-ai/vuer},
|
|
148
|
+
year = {2024}
|
|
149
|
+
}
|
|
150
|
+
```
|
|
151
|
+
|
|
139
152
|
## About Us
|
|
140
153
|
|
|
141
154
|
Vuer is built by researchers at MIT and UCSD in fields including robotics, computer vision, and computer graphics.
|
|
142
155
|
|
|
156
|
+
|
|
157
|
+
|