Open mariobuikhuizen opened 3 years ago
To reproduce the klein bottle:
fig = ipv.figure()
ipv.examples.klein_bottle()
ipv.save("ar.html", devmode=True)
To make sure we pick up the right ipyvolume from this branch:
$ (cd js; npm run watch:dev)
$ ln ~/src/ipyvolume/js/dist/index.js.map index.js.map
$ ln ~/src/ipyvolume/js/dist/index.js ipyvolume.js
$ python -m ipyvolume.server
Open from your phone:: https://
@mariobuikhuizen can you share the link where all supported devices are listed?
Supported devices: https://developers.google.com/ar/devices.
For iOS https://labs.mozilla.org/projects/webxr-viewer/ can be used.
@maartenbreddels how can I get your example running? Where does the python code go?
just execute it from anywhere, in a script, or from the REPL, since we save it to HTML, no jupyter environment is needed.
Ah, missed the saving to HTML.
I'm a little late to the party, but I noticed you all aren't using a notebook review tool and wanted to invite you to review this pull request with GitNotebooks: https://gitnotebooks.com/widgetti/ipyvolume/pull/397
It lets you do things like comment on rendered markdown and code cells, so might be an easy win for your PR reviews.
Sharing the demo:
https://user-images.githubusercontent.com/1765949/140309606-6960015a-e729-4173-92c4-3b6d246e1da0.mp4
It seems also that the floor is moving wrt the scene btw.