Code Monkey home page Code Monkey logo

xframe's Introduction

A-FRAME w/ bootstrap, nodeJS, react, websocket and Parcel

Init AFrame Lib and Include Bootstrap's source Sass and individual JavaScript plugins with Parcel by DECADE.TW w/TTUniversity.

Entity-Component-System

Box = Position + Geometry + Material Light Bulb = Position + Light + Geometry + Material + Shadow Sign = Position + Geometry + Material + Text VR Controller = Position + Rotation + Input + Model + Grab + Gestures Ball = Position + Velocity + Physics + Geometry + Material Player = Position + Camera + Input + Avatar + Identity

react + aframe (not use)

accroding to react-aframe recommendtion. ==> using vanilla A-Frame and aframe-state-component with static templating over aframe-react. React wastes a lot of cycles and incurs a lot of memory garbage. aframe-react is often abused where it is too easy to place 3D/real-time logic at the React layer, causing poor performance (e.g., doing React renders on ticks). aframe-react applications frequently ignore the prescribed ECS framework of A-Frame. Internally, React does tons of computation to compute what changed, and flushes it to the entire application. It is apparent React ecosystem does not care much about memory as most examples allocate functions and objects in the render method, and where immutables are popular. With only ~10ms per frame to do all computation, there is little room for React's massive system.

bootstrap + aframe

use to handle layout w/ whole HTML.

websocket

plan to use on multi-user with sam sense.

How to use

git clone https://github.com/xlinx/Aframe_Bootstrap.git
cd into folder
npm install
npm parcelX

![DECADE.TW](https://decade.tw/wp-content/uploads/2021/09/DECADE_new.png =250x)

xframe's People

Watchers

xlinx@decade 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.