Socket
Socket
Sign inDemoInstall

mind-ar-react

Package Overview
Dependencies
59
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mind-ar-react

A Mind AR Modules for React


Version published
Weekly downloads
5
increased by66.67%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Mind AR React

A Mind AR Wrapper for React

How to start

  • Install Mind AR React as Depedencies
npm i mind-ar-react
  • Install Aframe, since it's depends on aframe
npm i aframe
  • Install aframe-react-component, if npm not installing it for you
npm i aframe-react-component
  • Import the components in your React projects
import { Scene } from 'mind-ar-react';
import { Camera, Box } from 'aframe-react-component';


return (
  /// See the Example one for the structure
);

Usage

:arrow_right: Please see how to use it by seeing the example one in Examples (from src) / Examples (from dist)

Keep in Mind

Use the Scene and Entity component that mind-ar-react provide instead the one that aframe-react-component provide.

:warning: Gesture/Mouse Actions :warning:

For any gesture/mouse actions, the example how to use it can be found in src/examples/ImageTracking.tsx. In the example files, the only actions that works is the Scale with mouse wheel, this happen 'cause of the DOM things. Any PR to fix this examples are welcome.

Keywords

FAQs

Last updated on 19 Aug 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc