Skip to content
jQuery for Three.js
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.imdone
_wiki
assets
build
development
examples
fragment-shaders
libs
logos
src
test
vertex-shaders
whitestormjs.wiki
.gitignore
.todo
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
LICENSE
README.md
bower.json
gulpfile.js
package.json

README.md

WhitestormJS

Build Status npm bower Gitter

Issues Author


Code style check: Codacy Badge

WhitestormJS is a library which combines Three.js and Cannon.js. It makes WebGL development easy.

WhitestormJS is hosted by jsDelivr. You can link to the latest minified version, full version, or download both.

WhitestormJS

Installation

forthebadge

* It is advised to download your own copies of the following libraries, as large changes can break backwards compatibility.

Include Three.js, Wagner, and Cannon.js libraries. Include a script tag linking the WhitestormJS library in your head or after your body:

<script src="three.js"></script>
<script src="cannon.js"></script>
<script src="wagner.js"></script>
<!-- WhitestormJS library -->
<script src="{path_to_lib}/whitestorm.js"></script>

After adding these libraries, you can configure your game:

var GAME = new WHS.init({
    anaglyph: false, // Anaglyph effect.
    helper: false, // Cannon.js shape helper
    stats: "fps", // fps, ms, mb or false if not need.
    wagner: WAGNER, // wagner library variable
    gravity: { // Physic gravity.
        x: 0,
        y: -200,
        z: 0
    }
});

Join the chat at https://gitter.im/sasha240100/WhitestormJS

Structure

Whitestorm.js structure

Examples:

Author:

@sasha240100 forthebadge

Changelog: Look here

forthebadge

Лицензия Creative Commons
Произведение «WhitestormJS 3D-Library» созданное автором по имени Alexander Buzin, публикуется на условиях лицензии Creative Commons «Attribution-NonCommercial-NoDerivatives» («Атрибуция — Некоммерческое использование — Без производных произведений») 4.0 Всемирная.
Основано на произведении с https://github.com/sasha240100/WhitestormJS.
Разрешения, выходящие за рамки данной лицензии, могут быть доступны на странице https://github.com/sasha240100/WhitestormJS.

Something went wrong with that request. Please try again.