react-360 | Create amazing 360 and VR content using React | Frontend Framework library

 by   facebookarchive JavaScript Version: r360-1.0.1 License: Non-SPDX

kandi X-RAY | react-360 Summary

kandi X-RAY | react-360 Summary

react-360 is a JavaScript library typically used in User Interface, Frontend Framework, React, Webpack, WebGL applications. react-360 has no bugs, it has no vulnerabilities and it has medium support. However react-360 has a Non-SPDX License. You can download it from GitHub.

React 360 is a framework for the creation of interactive 360 experiences that run in your web browser. It pairs modern APIs like WebGL and WebVR with the declarative power of React, producing applications that can be consumed through a variety of devices. Leveraging web technologies and the existing React ecosystem, React 360 aims to simplify the construction of cross-platform 360 experiences.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              react-360 has a medium active ecosystem.
              It has 8680 star(s) with 1291 fork(s). There are 331 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 223 open issues and 429 have been closed. On average issues are closed in 76 days. There are 70 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of react-360 is r360-1.0.1

            kandi-Quality Quality

              react-360 has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              react-360 has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              react-360 releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              It has 1850 lines of code, 0 functions and 426 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed react-360 and discovered the below as its top functions. This is intended to give you an instant insight into react-360 implemented functionality, and help decide if they suit your requirements.
            • Creates a new bitmapGeometry object .
            • draws the quad url
            • Read options .
            • Read a single line
            • Visible border
            • Load a font texture
            • Computes a vucker - point
            • Validates a transform .
            • Process an identity matrix .
            • Line break generator
            Get all kandi verified functions for this library.

            react-360 Key Features

            No Key Features are available at this moment for react-360.

            react-360 Examples and Code Snippets

            No Code Snippets are available at this moment for react-360.

            Community Discussions

            QUESTION

            Responsive flat panel in react-360
            Asked 2019-Dec-12 at 11:57

            I would like to make responsive flat panel - on a mobile device should be in full screen like there https://tour.croptrust.org/

            Is there a possibility to achieve that in react-360.

            Here is my example https://gstuczynski.com/tour/plaszow/ - try to hit loupe -> on the desktop looks good but how to make it responsive? Here is my code https://github.com/gstuczynski/plaszow-cc-virtual-tour

            ...

            ANSWER

            Answered 2019-Dec-12 at 11:57

            If you're looking to set your surface size based on whether user is on mobile or desktop, I'd approach this by building a NativeModule to check if the device is mobile on componentDidMount() and using the built in resize() function to adjust your surface sizes.

            First add a module in client.js

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

            QUESTION

            React360 Entity example
            Asked 2019-Sep-16 at 09:58

            I am trying to use a 3d object in a react360 project. I followed the steps in setup docs. Created a project with react-360 init Hello360 command and started the server with npm start.

            Also, downloaded this obj model, and put it into static_assets folder. Then, put an Entity tag into index.js for displaying the object. Whole index.js is as follows.

            ...

            ANSWER

            Answered 2019-Sep-16 at 09:58

            React360 docs Entity page is missing the import part. Importing Entity as in this blog solves the problem.

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

            QUESTION

            React Native 360/Panorama viewer
            Asked 2019-Jun-19 at 12:19

            I believe there are a bunch of questions related to this, but they are all outdated.

            I'm looking for a way to render a panorama/360 picture viewer in React Native. So far, all the libraries that try to use Google's VR SDK are outdated or broken, and not usable at all.

            I have also tried to use a WebView (with react-360), but web views are just way too slow, doubles RAM usage, and worst of all, can't be used to render 360 pictures stored on the device.

            I guess that another option would be to grab an OpenGL library and try to implement it myself, but that's probably a lot of work if there's something made already.

            ...

            ANSWER

            Answered 2019-Jun-19 at 12:19

            We've recently published the panorama viewer we are using in our apps. Hope it can help you too. @lightbase/react-native-panorama-view

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

            QUESTION

            onInput for React 360/React Vr does not function
            Asked 2019-Jan-09 at 19:35

            I am creating a a bare bones react 360 app in order to get familiar with input handling from a variety of sources. Here is the web page for the documentation Input Handling React 360. After reading the page, I can't get the input to work at all and its unclear as to why. Here is my code:

            ...

            ANSWER

            Answered 2019-Jan-09 at 19:35

            I think I figured out my own question for future reference. In the above code, is 'invisible' when I run the application with npm start. What I did was remove the surrounding views included with the example and then added some stylesheet css stylings to it. Here is that code:

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

            QUESTION

            Props are undefined on React initialization. Why?
            Asked 2018-Dec-21 at 17:42

            I am creating a VR application with React 360. What I am trying to do is to eventually create an application as shown here Facebook VR multi surface example. I am taking the code for that example and am trying to fit it into my application. However I'm having a problem with the following initialization of my React components.

            I have the following react-360 application with the following code index.js

            ...

            ANSWER

            Answered 2018-Dec-21 at 17:42

            It looks like you're rendering the ModelView and not the ConnectedModelView.

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

            QUESTION

            What is the difference between these two View components?
            Asked 2018-Dec-14 at 07:34

            I am looking at react-360 and react-native code and found the following examples concerning the View component.

            ...

            ANSWER

            Answered 2018-Dec-13 at 19:01

            Because the parent View component has children components while the children View components do not. See this related Stack Overflow question: (React component closing tag)

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

            QUESTION

            React-360: Use external Image as Scene Background
            Asked 2018-Sep-21 at 14:24

            i have been trying for some time to set an external image over the environment. This is my index.js:

            ...

            ANSWER

            Answered 2018-Sep-21 at 14:24

            It was still the right way to load external images.

            The problem was, that a filter was active in my console output. Therefore I was not able to see the CORS warning in the console.

            It was still a CORS problem on the devcdn.player360.de server. We fixed the CORS headers and are now able to load external images.

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

            QUESTION

            React-360 Image URI not Visible
            Asked 2018-Aug-30 at 14:41

            The react-360 instructions seem very clear and simple:

            ...

            ANSWER

            Answered 2018-Aug-23 at 17:43

            QUESTION

            What is the difference in layout positioning of react-vr and react-360?
            Asked 2018-Jun-11 at 16:47

            I had started creating a project with react-vr and had laid out the object in a spherical manner around the user. Or for example, the 3 objects had positions (1, 1, 1), (2, 2, 2) and (3, 3, 3).

            style: { transform: [{ translate: [1,1,1] }] }

            On moving to react-360 the same positions of the objects seem quite different. From the initial view, all three object appear to be in a straight vertical column.

            1. Is there some major difference in the layout structure of the two that I've missed here?
            2. Also the order of rendering of these objects differ the output that we are getting in react-360.
            ...

            ANSWER

            Answered 2018-Jun-11 at 16:47

            There is a difference that by default it's rendered to 2D Surface, not 3D scene. I must say for me it's quite strange and i also struggled with this. Especially since they changed it significantly and is hard to find any info about it in docs (if it even is there because I found a solution in code). So, in client.js file you have to change this

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

            QUESTION

            React-360 camera position in view
            Asked 2018-May-08 at 11:27

            I want to set my camera view higher compared to a rendered view. But I don't know where I could set the intial camera position when rendering a view.

            My component is mounted like this:

            ...

            ANSWER

            Answered 2018-May-08 at 11:27

            You can set the camera position higher like this (inside init in client.js):

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install react-360

            We've designed the React 360 developer experience to get your first project up and running in only a few minutes. Before installing the developer tools, you'll need to make sure that you have two prerequisites installed:. Next, install the React 360 CLI – a command-line tool that generates the basic layout of new projects. You'll only need to install this CLI once. It will alert you when it's out of date, and provide instruction on how to update it. Once installed, the CLI can be used to create a new project by running. where PROJECT_NAME is the name of your new application. Once it's been created and the dependencies are installed, change your working directory to PROJECT_NAME, and start the application server by running npm start (or yarn start). You can also use --https option to run the server with https. When the server has booted, you can access your application by navigating to http://localhost:8081/ in your web browser. Your application's code can be found in index.js, and you can learn more about available framework features by diving into our documentation.
            Node.js version 6.0.0 or higher
            yarn or npm (>= v3.0.0) package managers

            Support

            For more information about contributing to React 360, see our Contributor Guidelines.
            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/facebookarchive/react-360.git

          • CLI

            gh repo clone facebookarchive/react-360

          • sshUrl

            git@github.com:facebookarchive/react-360.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