aframe-htmlembed-component | HTML Component for A-Frame VR | Augmented Reality library

 by   supereggbert JavaScript Version: Current License: MIT

kandi X-RAY | aframe-htmlembed-component Summary

kandi X-RAY | aframe-htmlembed-component Summary

aframe-htmlembed-component is a JavaScript library typically used in Virtual Reality, Augmented Reality applications. aframe-htmlembed-component has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

HTML Component for A-Frame VR that allows for interaction with HTML in VR. Demo https://supereggbert.github.io/aframe-htmlembed-component/dist/examples/index.html
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              aframe-htmlembed-component has a low active ecosystem.
              It has 188 star(s) with 37 fork(s). There are 13 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 18 open issues and 6 have been closed. On average issues are closed in 2 days. There are 10 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of aframe-htmlembed-component is current.

            kandi-Quality Quality

              aframe-htmlembed-component has 0 bugs and 0 code smells.

            kandi-Security Security

              aframe-htmlembed-component has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              aframe-htmlembed-component code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              aframe-htmlembed-component is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              aframe-htmlembed-component releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              aframe-htmlembed-component saves you 199 person hours of effort in developing the same functionality from scratch.
              It has 490 lines of code, 0 functions and 6 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of aframe-htmlembed-component
            Get all kandi verified functions for this library.

            aframe-htmlembed-component Key Features

            No Key Features are available at this moment for aframe-htmlembed-component.

            aframe-htmlembed-component Examples and Code Snippets

            No Code Snippets are available at this moment for aframe-htmlembed-component.

            Community Discussions

            QUESTION

            A-frame mirror the code in my div on a 2d plane
            Asked 2021-Jun-11 at 21:19
            Problem

            I'm creating a 3d scene using a-frame (https://aframe.io) and I need some sort of way to mirror an html div onto a plane inside a-frame. For example, lets say that there is a div with some code where I can draw on it similar a whiteboard on the bottom left corner of the screen. Everything that I draw on the whiteboard should be mirrored to the a-frame plane. That way I should be able to see my whiteboard drawing in my a-frame scene.

            What I've tried

            I've tried using two components the a-frame html embed component (https://github.com/supereggbert/aframe-htmlembed-component) and the a-frame shader component (https://github.com/mayognaise/aframe-html-shader) and both work for displaying html in my scene on a 2d plane however the 2d plane in my scene doesn't mirror the whiteboard and doesn't update. That means when I draw something on my whiteboard, instead of mirroring onto 2d plane and showing what I've drawn in vr, there is just a whiteboard with nothing drawn on it.

            Problem I need solved and the ideal solution

            I need to be able to create a div in html with a whiteboard or other code on it and have the same html be displayed on a 2d plane in my scene. The 2d html on the plane should update meaning if I draw the letter "a" on my whiteboard, the letter a will appear on the 2d plane in my scene. As long as there is a div where I am able to put my 2d html (my whiteboard) and the div mirrors in vr, that would be the ideal solution. Is there some code that could accomplish this?

            Am I missing something with the two component I've tried that allow me to accomplish this? (Two components: https://github.com/supereggbert/aframe-htmlembed-component and https://github.com/mayognaise/aframe-html-shader) Or maybe a different A-frame component?

            Ideally I am seeking the code for a component that allows me to mirror a div onto a 3d plane in my scene, or recommend a component that allows me to display interactable content on a 2d div.

            ...

            ANSWER

            Answered 2021-Jun-11 at 21:19

            Since your whiteboard uses canvas, you can make use of the aframe canvas component.

            Then at the end of your handleUpdate() function you want to call the component's updateTexture() function to update your aframe texture to the current state of the whiteboard.

            Source https://stackoverflow.com/questions/67827060

            QUESTION

            Tainted "OffscreenCanvas" may not be exported
            Asked 2020-Feb-25 at 04:28

            I'm passing an ImageBitmap into a webworker, to render on canvas and then generate a URL for loading into THREE.js on the main thread.

            in the main thread

            ...

            ANSWER

            Answered 2020-Feb-25 at 04:28

            This is an extension of this known bug on which I already gave an explanation here.

            For your case it seems that even using the "data:URL hack-around" won't work, probably because of some other checks performed in the createImageBitmap internal steps.

            I will add a comment about this in the bug report, but for the time being, you are stuck with rasterizing that svg image on a first and use that as source for the ImageBitmap, which is I guess quite suboptimal for your case.

            Source https://stackoverflow.com/questions/60386890

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install aframe-htmlembed-component

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/supereggbert/aframe-htmlembed-component.git

          • CLI

            gh repo clone supereggbert/aframe-htmlembed-component

          • sshUrl

            git@github.com:supereggbert/aframe-htmlembed-component.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Augmented Reality Libraries

            AR.js

            by jeromeetienne

            ar-cutpaste

            by cyrildiagne

            aframe

            by aframevr

            engine

            by playcanvas

            Awesome-ARKit

            by olucurious

            Try Top Libraries by supereggbert

            GLGE

            by supereggbertJavaScript

            proctree.js

            by supereggbertJavaScript

            JigLibJS

            by supereggbertJavaScript

            aframe-aobake-component

            by supereggbertJavaScript

            SimpleXBMC

            by supereggbertJavaScript