HTML can be used to
describe 3D
We need to recap the way we think about HTML.
Any element in HTML could just be an object in 3D with zero depth, but it could be 3D.
z-index
is not only designed to represent the order of elements, but also the depth of elements in 3D.translate3d()
is the true 3D transformation now!- Use TypeScript with one-step simple configuration
- enjoy TypeScript's intelligent suggestions in Visual Studio Code
- Publish applications using TypeScript source code without the need for additional builds
Using Three.js
Using Babylon.js
Babylon.js is an open-source 3D rendering engine that supports multiple backends (WebGL, WebGPU, server-side, and native). It provides a range of game scene APIs for developing 3D games and applications.
Babylon.js developers can be free to use this library in JSAR (with WebGL2 backend) to create rich WebXR contents and applications.
Built with Unity
The Web application running in JSAR can run inside Unity. We provide the JSAR UPM (Unity Package Manager) plugin, which allows you to implement the underlying data interfaces as needed, enabling you to run Web applications in your Unity project.