0.1.0 • Published 4 years ago

@an0rak/chimeria v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 years ago

Chimeria

A Javascript library to manipulate WebGL context

Current version on NPM

GitHub Releases Downloads NPM Downloads

Work In Progress version CodeSize Commits for the next version

What is it ?

This project is a Javascript library which provides various classes to manipulate a WebGL context in a canvas.

How to use it ?

Install it on your Javascript app with :

npm install @an0rak/chimeria

Then you can use it with :

const chimeria = require("@an0rak/chimeria");

const vertexSource = "your_vertex_source_here";
const fragmentSource = "your_fragment_source_here";

const gl = document.getElementById("my-canvas").getContext("webgl");
const shader = new chimeria.Shader(gl, vertexSource, fragmentSource);

How to build it ?

Install it locally

git clone https://github.com/an0rak-simulations/chimeria.git $YOUR_LOCAL_PATH
cd $A_PROJECT_OF_YOURS
npm install $YOUR_LOCAL_PATH

Lint your modifications

npm run lint

Credits and License

This library was created by Sylvain Nieuwlandt and is released under the Apache-2.0 license, which you can find a complete copy here.

0.1.0

4 years ago