React demo with echo3D. Type a planet from our solar system into the input field to see it appear in AR.
Don't have an API key? Make sure to register for FREE at echo3D.
- Clone echo3D-ARjs-Planets-Demo
- Download Node and Node Package Manager(npm)
- Download and set up ngrok
- In the terminal, navigate to the
echo3D-ARjs-Planets-Demo/
directory and enter$ npm init
- Next, enter
$ npm install express react react-dom
to install relevant packages
- Add Earth to your echo3D console
- Add the other planets (except pluto)
- Once added, copy the short URL generated for each model and use them to replace the
<Your [planet] short url here>
in PlanetDemo.jsx
- optional: add entry-IDs to replace
<your [planet] entry id here>
- In terminal, enter
npm start
to serve the application on a local host. The terminal will display a port number that you can use in the next steps - In a separate terminal window navigate to
<path>/<to>/ngrok
and enterhttp <port number>
. The terminal will list a number of urls - the important one is the url beginning withhttps
- To view on computer or mobile device, open up web browser and enter the ngrok url.
Refer to our documentation to learn more about how to use Unity and echo3D.
Feel free to reach out at support@echo3D.co or join our support channel on Slack.
Demo created by Dylan Dawkins.