WebGL2 2D GUI library.
matteokeole / raven Goto Github PK
View Code? Open in Web Editor NEWWebGL2 2D GUI library.
License: GNU General Public License v3.0
WebGL2 2D GUI library.
License: GNU General Public License v3.0
WebGL2 2D GUI library.
Group
components get computed once when their children are added to the render queue.
On a resize event, or every render which doesn't modifies the render queue, Group
s aren't recomputed, thus having their children sometimes overflow the viewport when reducing the screen size.
Move the generic components like Sprite and Text from the client to the library.
Possible solutions:
context
argument, even in the clieint-side)Move the composite/subcomponent shaders from the client to the library.
The return type of GUIComposite.getFont is Font, however the helpers for generating glyphs from a string are located in the BitmapFont subclass; this breaks JSDoc.
When an exception is catched inside the public main script, the Instance.dispose
method is called and disposes all the underlying renderer managers by calling RendererManager.dispose
. However this method is not present in the superclass, nor in the GUIManager
class which extends it.
When the texture list file contains ~40 entries the loading time is ~1s.
Use Promise.all
to fetch the textures in parallel.
Some textures can also use deferred loading if they are used later.
Returns true if the vector's length is 0, false otherwise. To be applied on all Vector classes.
We can avoid computing the length here and instead check if all components are 0.
Update the WebGL shader/program API in WebGLRenderer
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.