2017-08-08 18:21:06 +03:00
2017-06-30 21:09:20 +03:00
2017-08-08 18:17:29 +03:00
2017-07-17 17:58:55 +03:00
2017-08-08 18:17:29 +03:00
2017-07-06 14:30:18 +03:00
2017-07-30 09:03:46 +03:00
2017-01-30 15:07:06 +02:00
2016-11-08 17:05:28 +09:00
2017-06-19 08:41:38 +03:00
2017-01-18 00:09:40 +02:00
2017-03-05 16:13:41 +02:00
2016-10-28 19:38:25 +03:00
2017-07-28 12:04:21 +03:00
2017-06-27 15:38:42 +03:00
2017-07-05 14:26:19 +03:00
2017-07-05 15:51:19 +03:00
2017-06-20 23:20:19 +03:00
2017-01-28 01:02:11 +02:00
2017-08-08 18:17:29 +03:00
2017-08-08 18:17:29 +03:00
2017-07-05 14:26:19 +03:00
2017-07-31 11:47:59 +03:00
2017-06-29 21:10:13 +03:00

Three Build Status

Community chat. Join us!

Discord

Table of content

Basic setup

Download the minified library or link the one from CDN

<script src="js/three.min.js"></script>
<script 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.

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

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

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

app.start(); // Run app.

NPM

# Install npm version
$ npm install whs

NPM Version

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

  • 💎 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
whs-module-statsjs statsjs-npm WhitestormJS module for JavaScript Performance Monitor
whs-module-dat.gui datgui-npm User Interface for runtime editing properties 🔑🛠🔩
physics-module-ammonext physics-ammonext-npm Physics module based on Ammo.js
whs-module-audio WIP Audio module for 3D positional sound 🔉
whs-vrkit physics-ammonext-npm Module for Virtual Reality

Donate

OpenCollective Backers OpenCollective Sponsors

Backers

Support us with a monthly donation and help us continue framework development🎉 and adding new features💡🎁.

Description
🚀 🌪 Super-fast 3D framework for Web Applications 🥇 & Games 🎮. Based on Three.js
Readme 347 MiB
Languages
JavaScript 100%