Giter Site home page Giter Site logo

imclab / aframe-react-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fouad/aframe-react-starter

0.0 2.0 0.0 12.46 MB

A-Frame + React starter kit.

Home Page: https://fouad.github.io/aframe-react-starter

License: MIT License

HTML 2.63% JavaScript 97.37%

aframe-react-starter's Introduction

aframe-react-starter

An aframe-react starter kit with BrowserSync for auto-reloading.

Getting Started

To get started:

npm install
npm run dev

BrowserSync should open http://localhost:4200. To test on your phone, check your local network IP (http://192.168.x.x:4200).

Using Components

A-Frame uses attributes to render components so if you want to use the sky component:

<a-sky src="sky.png"></a-sky>

translate to:

<Entity
  geometry="primitive: sphere;
            radius: ${radius};
            segmentsWidth: ${segments-width};
            segmentsHeight: ${segments-height}"
  material="shader: flat;
            src: url(${src});
            color: ${color};
            fog: false"
  scale="-1 1 1">
</Entity>

aframe-react-starter's People

Contributors

fouad avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.