RawGl is an Ultra Simple WebGl2 frameWork designed to hide as much of webGl boiler plate as possible and yet keep it low level.

What Version 0.0.1 Achieved

Provide Components For Drawing Triangles

It can be said that the one main objective of WebGl is to draw triangles on the screen. For this purpose this version provides 3 components to draw triangles and hence any shape on the canvas.These components are "BaseTri", "Tri" and "TriCont". Each of these components has their own qualities.

Primtives

We will not get far if we start building every thing triangle by triangle. Thus we need some basic primtives that we can quickly add and use.

Grouping of Created shapes

Once we have drawn some shapes on the screen we will like them to be grouped so that we can collectively move them and change their width and height. This is achieved by "TriCont" components.

Assets and Asset Builder

Once we have created shapes we will like to bundle them into "Assets" for later use.

We will also need a way to change these stored assets a little bit the next time we want to use a previously stored asset. This is achieved by the "Asset Builder" object.


Hello World Example



The following docs are being written..please (2022-Nov-08)

The Components

Overview of the RawGl framework components.


TriCont Component Examples

Hundred Rectangles


Using Existing Assets

There are some demo assets created for explanation.


Creating Assets

How to create you own Assets


BaseTri Component

Base Component for other Components


Tri Component

Tri Component draw on entire screen unlike "TriCont" component.


GlUtil

The low level collection of WebGl functions.

---

2022-Noc-08 (version 0.0.1)