Community chat. Join us!
whsis currently at v2 major version. We had plans for v3 yet but development isn't active. So v2 will probably remain the main stable version until further notice.
We try to publish minor update releases for bug fixes, we will review PRs.
# Install npm version $ npm install whsFor
[email protected](Three.js r92) use @beta tag
# Install npm version $ npm install whs@betaDownload the minified library or link the one from CDN
<scriptsrc="js/three.min.js"></script><scriptsrc="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.
constapp=newWHS.App([newWHS.ElementModule(),// Apply to DOM.newWHS.SceneModule(),// Create a new THREE.Scene and set it to app.newWHS.DefineModule('camera',newWHS.PerspectiveCamera({// Apply a camera.position: newTHREE.Vector3(0,0,50)})),newWHS.RenderingModule({bgColor: 0x162129}),// Apply THREE.WebGLRenderernewWHS.ResizeModule()// Make it resizable.]);app.start();// Run app.











- 💎 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
| 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💡🎁.


