Skip to content

Answer a few short questions to find a houseplant match, learn some info, and receive a QR code to see the plant in AR in your home!

License

Notifications You must be signed in to change notification settings

echo3Dco/React-echo3D-demo-House-Plants

Repository files navigation

React-echo3D-demo-House-Plants

React demo with echo3D. Answer a few short questions to find a houseplant match, learn some info, and receive a QR code to see the plant in AR in your home!

Register

Don't have an API key? Make sure to register for FREE at echo3D.

Setup

  1. Clone React-echo3D-demo-House-Plants
  2. Download Node and Node Package Manager(npm)
  3. Download and set up ngrok

Terminal

  1. In the terminal, navigate to the echoAR-Houseplant-Demo/ directory and enter $ npm init
  2. Next, enter $ npm install express react react-dom to install relevant packages

echo3D Console

  1. Add each of the houseplants to your echo3D console. Use the search function and type in the plant name to find the model you would like to use for each plant.

These are the models we used : (Filename Author)

  • Anthurium.glb thesidekick

  • Chinese Money Plant.glb daniel

  • Umbrella palm tree.glb Poly by Google

  • ZZ Plant.glb Jack Irwin Miller

  • Bonsai Tree.glb zacharyfrs

  • Orchid.glb Poly by Google

  • Snake Plant (Highest Resolution, Unbounded).glb legel

  1. Copy the links of the QRImage links, and place them into the "findplantInfo" function in [PlantForm.jsx].

  2. Once the houseplant models are added, copy the short URL generated for each model and use them to replace the [shortUrl] in the "findplantInfo" function [PlantForm.jsx]

  3. Choose a plant to be your default and copy its QRImage link and shortURL into [index.html]

Run

  1. 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
  2. In a separate terminal window navigate to <path>/<to>/ngrok and enter http <port number>. The terminal will list a number of urls - the important one is the url beginning with https
  3. To view on computer or mobile device, open up web browser and enter the ngrok url.

Learn More

Refer to our documentation to learn more about how to use Unity and echo3D.

Support

Feel free to reach out at support@echo3D.co or join our support channel on Slack.

Screenshots

Demo Bonsai Demo Money Plant

Demo created by Samia Menon.

About

Answer a few short questions to find a houseplant match, learn some info, and receive a QR code to see the plant in AR in your home!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published