Jump to content

A-Frame (virtual reality framework)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by GabrielG (talk | contribs) at 05:12, 25 January 2021 (Add an Example (as is found on eg. the X3D page)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A-Frame
Developer(s)Diego Marcos, Don McCurdy, Kevin Ngo
Initial releaseDecember 2015; 8 years ago (2015-12)
Stable release
1.1.0 / December 3, 2020; 3 years ago (2020-12-03)
Repository
Written inJavaScript
PlatformCross-platform
TypeJavaScript framework
LicenseMIT License
Websiteaframe.io

A-Frame is an open-source web framework for building virtual reality (VR) experiences.[1] It is maintained by developers from Supermedium (Diego Marcos, Kevin Ngo) and Google (Don McCurdy). A-Frame is an entity component system framework for Three.js where developers can create 3D and WebVR scenes using HTML. HTML provides a familiar authoring tool for web developers and designers while incorporating a popular game development pattern used by engines such as Unity.

History

A-Frame was originally developed within the Mozilla VR team during mid-to-late 2015.[2] A-Frame was created in order to allow web developers and designers to author 3D and VR experiences[3] with HTML without having to know WebGL.[4] A-Frame's first public release was on December 16, 2015.[5] On December 16, 2019 A-Frame version 1.0.0 was released.[6]

Community

All online IDEs support A-Frame as a result of being based on HTML. Documentation is available for the API.[7] Support for developers committing to the library is provided via GitHub issues, while support for developers building apps and web pages is provided via StackOverflow.[8] Real-time on-line support is provided via Slack.[9] Most of the developers are also on Twitter[citation needed].

Usage

Mozilla Hubs Chat room software uses A-Frame.[10]

Example

<html>
  <head>
    <script src="https://aframe.io/releases/1.1.0/aframe.min.js"></script>
  </head>
  <body>
    <a-scene>
      <a-box position="-1 0.5 -3" rotation="0 45 0" color="#4CC3D9"></a-box>
      <a-sphere position="0 1.25 -5" radius="1.25" color="#EF2D5E"></a-sphere>
      <a-cylinder position="1 0.75 -3" radius="0.5" height="1.5" color="#FFC65D"></a-cylinder>
      <a-plane position="0 0 -4" rotation="-90 0 0" width="4" height="4" color="#7BC8A4"></a-plane>
      <a-sky color="#ECECEC"></a-sky>
    </a-scene>
  </body>
</html>


See also

References

  1. ^ "A-Frame". A-Frame. Retrieved 2016-10-25.
  2. ^ "Introducing A-Frame: Building Blocks for WebVR". Mozilla VR Blog. 2015-12-16. Retrieved 2016-10-26.
  3. ^ Lang, Ben (2015-12-16). "Mozilla A-Frame: WebVR Starting With One Line of Code". Road to VR. Retrieved 2016-10-25.
  4. ^ "Mozilla makes it easy to create VR websites with 'A-Frame'". Engadget. Retrieved 2016-10-25.
  5. ^ "Mozilla Releases A-Frame WebVR Framework". AR VR Magazine. 2015-12-18. Retrieved 2016-10-25.
  6. ^ "A-Frame v1.0.0 - WebXR Support, AR Mode". A-Frame. Retrieved 30 March 2020.
  7. ^ "Introduction — A-Frame". aframe.io. Retrieved 2016-10-25.
  8. ^ "Newest 'aframe' Questions". stackoverflow.com. Retrieved 2016-10-25.
  9. ^ Slack. "Slack". aframe.io. Retrieved 2016-10-25.
  10. ^ "mozilla/hubs". Mozilla. 29 March 2020. Retrieved 30 March 2020.