GithubHelp home page GithubHelp logo

isabella232 / pixi-gl-core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pixijs/pixi-gl-core

0.0 0.0 0.0 412 KB

A set of tidy little pixi objects that make working with WebGL simpler

Home Page: http://pixijs.github.io/pixi-gl-core/

JavaScript 100.00%

pixi-gl-core's Introduction

PIXI GL Core

Build Status

A set of tidy little pixi objects that make working with WebGL simpler.

They are used under the hood in Pixi v4. They should also give more users the ability to do more advanced stuff with WebGL in v4 too.

See the components in action here.

Installing

Installing using NPM:

npm install pixi-gl-core --save

Usage

Including using Node:

var gl = require('pixi-gl-core');

Including in the Browser:

<canvas id="stage"></canvas>
<script src="node_modules/pixi-gl-core/bin/pixi-gl-core.min.js"></script>
<script>
    try 
    {
        var context = pixi.gl.createContext(document.getElementById('stage'));
    }
    catch(e)
    {
        console.error("Unable to create WebGL context");
    }
</script>

Rebuilding

After install NPM module with npm install, build using:

npm run build

To run a watch, development command.

npm run watch

To generate the documention.

npm run doc

To deploy the documention to the gh-pages branch:

npm run deploy

Documentation

The API documentation can be found here.

License

This content is released under the MIT License.

pixi-gl-core's People

Contributors

goodboydigital avatar ivanpopelyshev avatar bigtimebuddy avatar ylambda avatar alvinsight avatar yahiko00 avatar madclem avatar devdoomari avatar opparco avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.