WhitestormJS/whs.js

Name: whs.js

Owner: WhitestormJS Framework

Description: :rocket: ? Super-fast 3D framework for Web Applications ? & Games ?. Based on Three.js

Created: 2015-08-30 10:29:14.0

Updated: 2018-01-20 03:41:37.0

Pushed: 2017-12-05 21:56:11.0

Homepage: https://whs.io

Size: 337462

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Three Build Status

Community chat. Join us!

Discord

Table of content
New releases

whs is currently at v2 major version. We don't have clear plans for v3 yet. So v2 will probably remain the main stable version until at least 2018.

We try to publish patch releases every 20 days or even more often.

We try to publish minor update releases every 60 days or even more often depending on the amount of features that sometimes get added in a very small period of time. We want the community to profit from new modules, components and feature enhancements as soon as they are implemented.

Basic setup

Download the minified library or link the one from CDN

ipt src="js/three.min.js"></script>
ipt src="js/whs.min.js"></script>

The code below makes a WHS.App instance which handles all your modules and components for better work with WebGL. This one creates a scene, camera and renderer - we add the following modules to the App.

t app = new WHS.App([
w WHS.ElementModule(), // Apply to DOM.
w WHS.SceneModule(), // Create a new THREE.Scene and set it to app.

w WHS.DefineModule('camera', new WHS.PerspectiveCamera({ // Apply a camera.
position: new THREE.Vector3(0, 0, 50)
),

w WHS.RenderingModule({bgColor: 0x162129}), // Apply THREE.WebGLRenderer
w WHS.ResizeModule() // Make it resizable.


start(); // Run app.

NPM
stall npm version
m install whs

NPM Version

Featured projects

http://abdaily.surge.sh/4/

http://abdaily.surge.sh/3/

http://abdaily.surge.sh/2/

http://abdaily.surge.sh/1/

http://theroguepixel.com/

http://supertiny.agency/

https://alexbuzin.me/

https://spatial.100shapes.com/

http://plateaux.space/

Features
External Modules

|Name|Status|Description| |:–:|:—-:|:———-| |physics-module-ammonext|physics-ammonext-npm|Physics module based on Ammo.js|

Donate

OpenCollective Backers OpenCollective Sponsors

Backers

Support us with a monthly donation and help us continue framework development? and adding new features??.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.