# aframe **Repository Path**: wei_qing_luo/aframe ## Basic Information - **Project Name**: aframe - **Description**: aframe探究 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-18 - **Last Updated**: 2021-03-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

A-Frame

A-Frame

A web framework for building virtual reality experiences.

Build Status Coverage Status Downloads Version License

SiteDocsSchoolSlackBlogNewsletter
## Examples Supercraft A-Painter Supermedium A-Blast A-Saturday-Night Musical Forest by @googlecreativelab *Find more examples on [the homepage](https://aframe.io), [A Week of A-Frame](https://aframe.io/blog/), and [WebVR Directory](https://webvr.directory).* ## Features :eyeglasses: **Virtual Reality Made Simple**: A-Frame handles the 3D and WebVR boilerplate required to get running across platforms including mobile, desktop, Vive, and Rift just by dropping in ``. :heart: **Declarative HTML**: HTML is easy to read and copy-and-paste. Since A-Frame can be used from HTML, A-Frame is accessible to everyone: web developers, VR enthusiasts, educators, artists, makers, kids. :electric_plug: **Entity-Component Architecture**: A-Frame is a powerful framework on top of three.js, providing a declarative, composable, reusable entity-component structure for three.js. While A-Frame can be used from HTML, developers have unlimited access to JavaScript, DOM APIs, three.js, WebVR, and WebGL. :zap: **Performance**: A-Frame is a thin framework on top of three.js. Although A-Frame uses the DOM, A-Frame does not touch the browser layout engine. Performance is a top priority, being battle-tested on highly interactive WebVR experiences. :globe_with_meridians: **Cross-Platform**: Build VR applications for Vive, Rift, Daydream, GearVR, and Cardboard. Don't have a headset or controllers? No problem! A-Frame still works on standard desktop and smartphones. :mag: **Visual Inspector**: A-Frame provides a built-in visual 3D inspector with a workflow similar to a browser's developer tools and interface similar to Unity. Open up any A-Frame scene and hit ` + + i`. :runner: **Features**: Hit the ground running with A-Frame's built-in components such as geometries, materials, lights, animations, models, raycasters, shadows, positional audio, tracked controllers. Get even further with community components such as particle systems, physics, multiuser, oceans, mountains, speech recognition, or teleportation! ## Usage ### Example Build VR scenes in the browser with just a few lines of HTML! To start playing and publishing now, remix the starter example on: [![Remix](https://cloud.githubusercontent.com/assets/674727/24572421/688f7fc0-162d-11e7-8a35-b02bc050c043.jpg)](https://glitch.com/~aframe) [![Fork](https://user-images.githubusercontent.com/39342/52831020-d42dcb80-3087-11e9-833f-2d6191c69eb9.png)](https://repl.it/@dmarcos/aframe) ```html ``` With A-Frame's [entity-component architecture](https://aframe.io/docs/1.2.0/introduction/entity-component-system.html), we can drop in community components from the ecosystem (e.g., ocean, physics) and plug them into our objects straight from HTML: [![Remix](https://cloud.githubusercontent.com/assets/674727/24572421/688f7fc0-162d-11e7-8a35-b02bc050c043.jpg)](https://glitch.com/~aframe-registry) [![Fork](https://user-images.githubusercontent.com/39342/52831020-d42dcb80-3087-11e9-833f-2d6191c69eb9.png)](https://repl.it/@dmarcos/aframe) ```html ``` ### Builds To use the latest stable build of A-Frame, include [`aframe.min.js`](https://aframe.io/releases/1.2.0/aframe.min.js): ```js ``` To check out the stable and master builds, see the [`dist/` folder](dist/). ### npm ```sh npm install --save aframe # Or yarn add aframe ``` ```js require('aframe') // e.g., with Browserify or Webpack. ``` ## Local Development ```sh git clone https://github.com/aframevr/aframe.git # Clone the repository. cd aframe && npm install # Install dependencies. npm start # Start the local development server. ``` And open in your browser **[http://localhost:9000](http://localhost:9000)**. ### Generating Builds ```sh npm run dist ``` ## Questions For questions and support, [ask on StackOverflow](https://stackoverflow.com/questions/ask/?tags=aframe). ## Stay in Touch - To hang out with the community, [join the A-Frame Slack](https://aframe.io/slack-invite/). - [Follow `A Week of A-Frame` on the A-Frame blog](https://aframe.io/blog). - [Follow @aframevr on Twitter](https://twitter.com/aframevr). - [Subscribe to the Newsletter](https://aframe.io/subscribe/). And get in touch with the maintainers! - [Diego Marcos](https://twitter.com/dmarcos) - [Don McCurdy](https://twitter.com/donrmccurdy) - [Kevin Ngo](https://twitter.com/andgokevin) ## Contributing Get involved! Check out the [Contributing Guide](CONTRIBUTING.md) for how to get started. You can also support development by [buying a gorgeous A-Frame t-shirt with exclusive designs](https://teespring.com/stores/aframe) ## License This program is free software and is distributed under an [MIT License](LICENSE).