makesites / construct

Construct.js is a lightweight, non-intrusive framework for WebGL using popular open source libs as dependencies
http://construct.tech
Other
7 stars 2 forks source link

Construct.js

Construct.js is a framework focused around WebGL apps that uses popular open source libraries as dependencies. It's aim is to enhance rapid development, while being a lightweight wrapper that preserves all the set conventions of the dependency libraries.

It's architecture is module based, inspired by node.js and specifically express. This is the main constructor library. Other add-on libraries are available in their own repos at Construct.js on Github

Features

Dependencies

Construct can act as a dependency injection framework, assisting the app and setting the ground work so all the necessary libs are available. Main dependencies are:

Usage

As a dependency injection framework, it is assumed that only one instance of the construct is required for any web page, and instantiation construct as a class is (currently) considered out of scope. When ready, initialize construct as follows:

construct( options, callback );

As a custom element it extends a regular div:

<div is="construct-3d"></div>

Options

On initialization you may include the following options...

Methods

Apart from initialization there are a number of methods exposed under the construct namespace to be used for different actions.

Plugins

With its modular architecture the framework is extensible through plugins. Features like gamepad support, physics and touchscreen inputs can be included on demand by using one of the available extensions from http://github.com/constructjs

Credits

Created by:

Complete list of contributors

Distributed through Makesites.org

License

Construct.js is free & open source software, dual-licensed under the MPL & AGPL

For more information, visit: https://raw.github.com/constructjs/construct/master/LICENSE