51superapi
v6.7.4
Published
It is a set of JavaScript programming interfaces that enables communication between web pages and cloud rendering platforms like 51Cloud. It allows developers to create HTML5 UI elements on a web page that can interact in real-time with 3D scenes rendered
Downloads
197
Maintainers
Readme
Introduction
- It is a set of JavaScript programming interfaces that enables communication between web pages and cloud rendering platforms like 51Cloud.
- It allows developers to create HTML5 UI elements on a web page that can interact in real-time with 3D scenes rendered in the cloud.
- It is compatible with mainstream JavaScript front-end frameworks like React, Vue, etc. making development more convenient.
- Using 51WORLD SuperAPI and 51Cloud, developers can build web apps with high quality 3D graphics without needing powerful local hardware.
- By offloading rendering to the cloud, it enables real-time 3D graphics on the web without draining local device resources.
- Overall, 51WORLD SuperAPI simplifies development of web apps with interactive cloud-rendered 3D graphics. It removes barriers for developers looking to integrate high fidelity 3D into web experiences.
Documentation
To check out and docs, visit superapi.51aes.com
Install
npm i 51superapi
Import
import cloudRenderer from '51superapi';
CDN
<script src="https://unpkg.com/51superapi/lib/superAPI.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/51superapi/lib/superAPI.min.js"></script>
Init
var cloudRender = new cloudRenderer('renderViewID', 0);
- renderViewID -- Rendering Dom id
- 0 -- single view
Starting
cloudRender.SuperAPI('StartRenderCloud', 'cloudurl');
- how to get cloudurl
Stop Rendering
cloudRender.SuperAPI('StopRenderCloud');
License
Copyright (c) 2019-present, 51WORLD