Build Immersive AR Learning Experience

share link

by kandikits dot icon Updated: Oct 16, 2022

technology logo
technology logo

1-Click Kit 1-Click Kit  

This application can be used to explain the concepts to students in a better way. Students can be shown with the 3d diagrams related to the concepts so that it is easy for them to understand.


In this challenge, we are inviting you to build the application with the relevant 3d images related to the themes that you would like to explain.


Kindly see below a sample solution kit to jumpstart your solution on creating Immersive AR Learning. To install this kit, scroll down to refer to sections Deployment Instruction and Instruction to run. Complexity : Simple

Deployment Information

The library added in this section is primarily used to create this project. The entire solution is available as a package to download from the source code repository.


For Windows OS,

  1. Download, extract and double-click kit_installer file to install the kit. Note: Do ensure to extract the zip file before running it.
  2. When you're prompted during the installation of the kit, press Y to launch the app automatically, and this one will open the application in a browser with a URL address referring to folder structure. E.g. :(c:/temp/index.html)
  3. But for 3d images that are put inside the application to work, you should deploy the application in your local webserver only.
  4. To run the application in a local environment, You can create a local HTTP server with Python by using the command "python -m http.server 8000," or you can deploy this in any other web server also.
  5. If you plan to use a Python-based web server and Python is not available on your machine, Click here to install Python. On that page, go down to find relevantly installable. For Windows OS, "Windows installer (64-bit) / Windows installer (32-bit)" is recommended depending on your system.
  6. Run the application in your local webserver. 7. Now, the application can be accessed using http://localhost:8000. Note: use the port where your web server is running.


Click on the button below to download the solution and follow the deployment instructions to begin set-up. This 1-click kit has all the required dependencies and resources you may need to build your Immersive AR App.

Instruction to run:

Follow below instructions to run the solution:

  1. Locate and open the respective extracted zip file.
  2. Open the command prompt and start your local HTTP server with Python by using the command "python -m http.server 8000," or you can deploy this in any other web server also.
  3. Use the "G" marker, i.e., available in the assets folder or you can download here. Show the marker to the application, and then see the 3d image in the browser. (can use the print-out-based marker or marker can be downloaded in your mobile and can also show the same).
  4. The application currently has 15 models. Refer the same under < a-assets > in the "index.html" file. You can replace any of the 3d models with your own model.
  5. Use left arrow and right arrow available on the screen to experience the models. Zoom in option is also available in the application.


For changing the images for your topics,

Create your own 3d images related to the themes that you would like to explain with AR features.

  1. To add your 3d models, follow below procedure:
  2. a. The 3d models should be in the format of ".gltf"
  3. b. If your 3d model contains a single file, then place the same directly in the assets folder i.e., available under the "AR-Alphabets-master" folder otherwise if your 3d model contains multiple files, then create a folder with the respective name inside assets and place the files in the folder.
  4. c. Then go to the "index.html" file and update the src attribute accordingly Example :- src="assets/3d-model-name.gltf" or src="assets/your-folder-name/3d-model-name.gltf"
  5. d. To place your 3d model, some more helpful comments are available under < a-assets > in "index.html" file Note:- To experience your 3d models, you should run the application on your local web server mode only. For information about creating the 3d models, kindly refer to the Creation of 3d Model Repository section.
  6. You can change the size of the 3d models by adjusting the scale values in "main.js" (eg:-scale: "0.2 0.2 0.2") 3. You can also change the voice assistant corresponding to the 3d image by changing the description name in "main.js" (eg:-description: "Earth")
  7. Once changes are done, make sure to restart the application for the changes to be effective.
  8. Now, you will experience your theme with AR in your Environment!

Creation of 3d Model Repository

  1. You can create your own 3d models by using open source IDE like unity3d, Blender, AutoCAD or you can get 3d models from open source websites given below a. Creazilla, Eg:- Camel b.Sketchfab Note:- Kindly check the license of the 3d models before using them.
  2. Make sure that 3d models should be in the form of ".gltf" format, if not so kindly change them to the respective format. You can refer to the below links to convert your 3d models in the ".gltf" format. a.fbx-to-gltf b.obj-to-gltf

Troubleshooting

  1. While running batch file, if you encounter Windows protection alert, select More info --> Run anyway
  2. During kit installer, if you encounter a Windows security alert, click Allow

Development Environment

Visual studio code IDE is used for this development. It becomes easy to modify the code and the configuration with Visual studio code.

vscodeby microsoft

TypeScript doticonstar image 147328 doticonVersion:1.79.2doticon
License: Permissive (MIT)

Visual Studio Code

Support
    Quality
      Security
        License
          Reuse

            vscodeby microsoft

            TypeScript doticon star image 147328 doticonVersion:1.79.2doticon License: Permissive (MIT)

            Visual Studio Code
            Support
              Quality
                Security
                  License
                    Reuse

                      Aframe

                      A-Frame is an open-source web framework used for building Augmented reality (AR) experiences.

                      aframeby aframevr

                      JavaScript doticonstar image 15445 doticonVersion:v1.4.2doticon
                      License: Permissive (MIT)

                      :a: Web framework for building virtual reality experiences.

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                aframeby aframevr

                                JavaScript doticon star image 15445 doticonVersion:v1.4.2doticon License: Permissive (MIT)

                                :a: Web framework for building virtual reality experiences.
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          Characteristic of jQuery

                                          In the spirit of open-source software development, jQuery plays a vital role in community code contribution. The below library could be used to create jQuery scripts and respective models.

                                          jqueryby jquery

                                          JavaScript doticonstar image 57560 doticonVersion:3.7.0doticon
                                          License: Permissive (MIT)

                                          jQuery JavaScript Library

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    jqueryby jquery

                                                    JavaScript doticon star image 57560 doticonVersion:3.7.0doticon License: Permissive (MIT)

                                                    jQuery JavaScript Library
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              Kit Solution Source

                                                              AR-Alphabetsby prashant-andani

                                                              JavaScript doticonstar image 101 doticonVersion:Currentdoticon
                                                              License: Permissive (MIT)

                                                              Augmented Reality on Web (Web AR) for Kids to learn Alphabets with fun. AR on all Mobile Devices

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        AR-Alphabetsby prashant-andani

                                                                        JavaScript doticon star image 101 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                        Augmented Reality on Web (Web AR) for Kids to learn Alphabets with fun. AR on all Mobile Devices
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  Support

                                                                                  If you need help to use this kit, you can email us at kandi.support@openweaver.com or direct message us on Twitter Message @OpenWeaverInc.