Depreacted (for now): fun idea, but needs a better execution.glsl-testify allows you to write tests inside your GLSL shaders, which can then be easily executed using the included CLI tool or manually run using the module API.
glsl gl-modules webgl shader test tap outputA 2D fontpath renderer for stackgl. As opposed to gl-render-text, which is texture based, this renderer is path-based.The following will produce filled text, drawn with triangles.
stackgl gl-modules gl webgl glsl modules-gl opengl font text glyph render word wrap ttf otfUses an intermediary canvas node to grab the RGBA pixels of the given source, with an optional clipping region. Works on HTML Canvas, Image, and Video elements.Gets the RGBA pixels from HTML Image/Video/Canvas element as a Uint8Array with some optional parameters.
gl webgl glsl stackgl modules-gl gl-modules image pixel imagedata canvas pixels uint8array rgba rgbIf the texcoord, normal or color options are false (or texcoord is 0) then that attribute will not be included in the shader.The projection, model, and view matrices are set to an identity matrix initially.
glsl gl-modules modules-gl stackgl gl webgl shader programAlso see three-vignette-background for a ThreeJS version of this module, with a slightly different API and noise algorithm.See demo/index.js for a full-screen example.
glsl gl webgl gl-modules stackgl texture image background vignette gradient
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.