HoloJS

提供使用JavaScript和WebGL创建全息应用程序的框架。(Provides a framework for creating holographic apps using JavaScript and WebGL.)

Github星跟踪图

# HoloJs

DocumentationSamples

HoloJs is an execution host for JavaScript Augmented and Virtual Reality applications.

HoloJs enables JavaScript rendering to Win32 windows and controls, UWP views, Windows Mixed Reality headsets and the HoloLens through web standard interfaces such as WebGL, WebVR, WebAudio, Gamepad APIs, Canvas, XmlHttpRequest, Image.

Usage

The fastest way to create VR and AR experiences with HoloJs is to use the Spin tool and Visual Studio Code. Spin is a HoloJs execution host that integrates with Visual Studio Code for a seamless run and debug experience. Please refer to VR and AR experiences with Spin for more details.

Alternatively, use the HoloJs Nuget package for embedding it into Win32 and UWP apps. Please refer to HoloJs in Win32 apps and HoloJs in UWP apps for detailed instructions.

Lastly, HoloJs can be built from scratch and customized as needed.

Building HoloJs

Note It is not required to build HoloJs in order to use it. Use the HoloJs Nuget package to embed JavaScript and WebGL in Win32 or UWP apps.

Building instructions for all dependent submodules are provided in the build-instructions directory. Visual Studio 2017 with C++, UWP and CMake support is required. To build Google ANGLE, GN and depot_tools are required.

Dependencies

All dependencies are build time dependencies in the form of git submodules.

  • ChakraCore provides the JavaScript runtime.
  • Google ANGLE provides the WebGL implementation for the Win32 platform.
  • Microsoft ANGLE provides the WebGL implementation for the UWP and HoloLens platform.
  • LabSound provides the WebAudio implementation, including spatial audio rendering.
  • ChakraCore debugger provides the debugger protocol implementation that enables editing and debugging HoloJs apps using Visual Studio Code.
  • Win2D provides the implementation for canvas's 2D context on the Windows platform.
  • ZipLib provides cross platform archive decompression.
  • zxing-cpp provides QR code decoding for the Spin viewer on the HoloLens

概览

名称与所有者microsoft/HoloJS
主编程语言JavaScript
编程语言C++ (语言数: 5)
平台Windows
许可证MIT License
发布数1
最新版本名称3.1 (发布于 )
第一版名称3.1 (发布于 )
创建于2016-12-15 22:52:03
推送于2022-12-08 08:55:25
最后一次提交2022-11-28 19:12:19
星数1.2k
关注者数77
派生数131
提交数133
已启用问题?
问题数108
打开的问题数18
拉请求数78
打开的拉请求数2
关闭的拉请求数6
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?
去到顶部