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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Community chat. Join us!
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.
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.
stall npm version
m install whs
Worker
(Multithreading)|Name|Status|Description| |:–:|:—-:|:———-| |physics-module-ammonext||Physics module based on Ammo.js|
Support us with a monthly donation and help us continue framework development? and adding new features??.