Community chat. Join us!
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
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.
const app = // Apply to DOM. // Create a new THREE.Scene and set it to app. 'camera' // Apply a camera. position: 0 0 50 bgColor: 0x162129 // Apply THREE.WebGLRenderer // Make it resizable.; appstart; // Run app.
NPM
# Install npm version $ npm install whs
Featured projects









Features
- 💎 Simple in usage
- 🚀 Speeds up 3D scene prototyping
- 🔌 Component based scene graph
- 💣 Simple integration of any high performance physics even with
Worker
(Multithreading) - 💫 Automatization of rendering
- 🆕 ES2015+ based
- 🔷 Extension system (modules)
- 📦 Webpack friendly
- ✔️ Integrated Three.js rendering engine
- 💞 Work with whs.js and Three.js at the same time
External Modules
Name | Status | Description |
---|---|---|
physics-module-ammonext | Physics module based on Ammo.js |
Donate
Backers
Support us with a monthly donation and help us continue framework development🎉 and adding new features💡🎁.