랭킹으로 돌아가기

WhitestormJS/whs.js

JavaScript

:rocket: 🌪 Super-fast 3D framework for Web Applications 🥇 & Games 🎮. Based on Three.js

physicsframeworkhigh-performanceweb-developmentwebpackcomponent-drivenmodularreactscene-graph
스타 성장
스타
6.3k
포크
398
주간 성장
이슈
40
2k4k6k
2015년 10월2019년 5월2022년 12월2026년 7월
아티팩트npmnpm install whs.js
README

Three Build Status

Community chat. Join us!

Discord

Table of content

New releases

whs is 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.

NPM

# Install npm version
$ npm install whs

For whs@2.2.x (Three.js r92) use @beta tag

# Install npm version
$ npm install whs@beta

NPM Version

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 THREE.Vector3(0, 0, 50)
  })),

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

app.start(); // Run app.

https://moxy.studio/ https://rmallick6806.github.io/SolarSystemBuilder/ http://www.tpain.com/ http://artifacts.zone/lorenzav/ http://artifacts.zone/tree/ http://abdaily.surge.sh/4/ 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
  • :rocket: Speeds up 3D scene prototyping
  • 🔌 Component based scene graph
  • 💣 Simple integration of any high performance physics even with Worker (Multithreading)
  • :dizzy: Automatization of rendering
  • 🆕 ES2015+ based
  • :large_blue_diamond: Extension system (modules)
  • :package: Webpack friendly
  • ✔️ Integrated Three.js rendering engine
  • :revolving_hearts: Work with whs.js and Three.js at the same time

External Modules

Name Status Description
physics-module-ammonext NPM Version Physics module based on Ammo.js

OpenCollective Backers OpenCollective Sponsors

Backers

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

관련 저장소
Popmotion/popmotion

Simple animation libraries for delightful user interfaces

JavaScriptnpmtweenmotion
popmotion.io
20.2k665
liabru/matter-js

a 2D rigid body physics engine for the web ▲● ■

JavaScriptnpmMIT Licensephysicsjavascript
18.3k2k
google-deepmind/mujoco

Multi-Joint dynamics with Contact. A general purpose physics simulator.

C++Apache License 2.0roboticsphysics
mujoco.org
14.3k1.6k
jrouwe/JoltPhysics

A multi core friendly rigid body physics and collision detection library. Written in C++. Suitable for games and VR applications. Used by Horizon Forbidden West and Death Stranding 2.

C++MIT Licensephysicsvr
11k813
BoomingTech/Piccolo

Piccolo (formerly Pilot) – mini game engine for games104

C++MIT Licensecppgame-engine
6.7k2k
michidk/Unity-Script-Collection

A maintained collection of useful & free unity scripts / library's / plugins and extensions

GNU General Public License v3.0unity-scriptsunity
michidk.github.io/Unity-Script-Collection/
6.3k652
galacean/engine

A typescript interactive engine, support 2D, 3D, animation, physics, built on WebGL and glTF.

TypeScriptnpmMIT Licensewebgltypescript
galacean.com/engine
5.8k406
ProjectPhysX/FluidX3D

The fastest and most memory efficient lattice Boltzmann CFD software, running on all GPUs and CPUs via OpenCL. Free for non-commercial use.

C++Othercfdcomputational-fluid-dynamics
youtube.com/@ProjectPhysX
5.2k468
zalo/MathUtilities

A collection of some of the neat math and physics tricks that I've collected over the last few years.

C#The Unlicensekalman-filterneat
4.7k432
timdonnelly/Advance

Physics-based animations for iOS, tvOS, and macOS.

SwiftBSD 2-Clause "Simplified" Licenseanimationswift
timdonnelly.github.io/Advance/
4.5k204
st-tech/ppf-contact-solver

A contact solver for physics-based simulations involving 👚 shells, 🪵 solids, 🪢 rods, 🧱 rigid bodies and ⏳ sand.

PythonPyPIApache License 2.0clothcollision
4.3k319
Developer-Y/math-science-video-lectures

List of Science courses with video lectures

sciencemath
4k639