Package nl.colorize.multimedialib.renderer.teavm
package nl.colorize.multimedialib.renderer.teavm
-
ClassDescriptionEntry point to access the various "bridge" interfaces that can be used to call JavaScript functions using TeaVM.TeaVM interface for the
browser-bridge.jsJavaScript implementation.Renders graphics using the HTML canvas API.JavaScript function interface that is used to receive name/value messages in callback functions.TeaVM interface for thepeerjs-bridge.jsJavaScript implementation.Implements thePeerConnectioninterface in Java, which is then bridged to the PeerJS implementation in JavaScript via TeaVM.Data structure for messages received from a peer-to-peer connection.TeaVM interface for thepixi-bridge.jsJavaScript implementation.Uses the PixiJS JavaScript library to render 2D graphics.Plays audio clips using the HTML5 media API that is supported by all modern browsers.Base interface for the different JavaScript graphics frameworks supported by the TeaVM renderer.Image implementation that is based on an HTMLimgelement.Captures browser events for various input methods, and makes them accessible from the animation loop.Delegates media loading to the browser.Sends HTTP requests by delegating them to JavaScript and sending them as AJAX requests.Renderer based on TeaVM that is transpiled to JavaScript and runs in the browser.TeaVM interface for thethree-bridge.jsJavaScript implementation.Uses the Three.js JavaScript library to render 3D graphics.Wrapper around a Three.js Mesh/Object3D instance in JavaScript, since that cannot implementMeshdirectly.