New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tsgl

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsgl

Light TypeScript wrapper around WebGL based on https://github.com/evanw/lightgl.js/

latest
npmnpm
Version
1.1.9
Version published
Weekly downloads
32
190.91%
Maintainers
1
Weekly downloads
 
Created
Source

Travis npm David

tsgl

Light TypeScript wrapper around WebGL based on https://github.com/evanw/lightgl.js/

Installation

NPM: npm install tsgl --save

In the browser, you can include the UMD bundle in a script tag, and the module will be available under the global tsgl

Demos

camerasrcMove camera using mouse.
gpuLightMapsrcDraw soft shadows by calculating a light map in multiple passes.
immediateModesrcOpenGL-style immediate mode.
magsrcCalculate and render magnetic field lines.
multiTexturesrcBlend two textures while rendering them to a quad.
rayTracingsrcRealtime GPU ray tracing including reflection.
renderToTexturesrcRender mesh to texture, then render that texture to another mesh.
setupDemosrcDraw a rotating cube.
shadowMapsrcDraw shadow of a mesh using a shadow map.

License

MIT

Keywords

typescript

FAQs

Package last updated on 22 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts