glsl-component icon indicating copy to clipboard operation
glsl-component copied to clipboard

Lightweight library for GLSL rendered web components

GLSL-Components

Lightweight library for GLSL rendered web components

Usage

  • Install via npm i glsl-component
  • Include into app
  • Now you can use glsl-component as <glsl-component>YOUR FRAGMENT SHADER CODE</glsl-component>

TODOs

  • Send u_ prefixed attributes as uniforms
  • Resize

License

MIT: http://mit-license.org/

Copyright 2017 Denis Radin aka PixelsCommander

Based on glslCanvas