<p align="center"><a href="https://lo-th.github.io/phy/"><img src="./assets/icons/logo.png" alt="START DEMO" width="128" height="128"/></a><br><a href="https://lo-th.github.io/phy/"><b>START DEMO</b></a></p>

Phy game engine for <a href="https://github.com/mrdoob/three.js">three.js</a>, is a simple language for create and control physics engine.<br>
You can use direct or worker version. Phy support last version of <a href="https://github.com/saharan/OimoPhysics/">Oimo</a> and <a href="https://github.com/kripken/ammo.js">Ammo</a>.<br>
Now full support of two best engine <a href="https://github.com/fabmax/physx-js-webidl">Physx</a> and <a href="https://github.com/BabylonJS/Babylon.js">Havok</a>.<br>
and test support of new engine <a href="https://github.com/dimforge/rapier.js">Rapier</a> and <a href="https://github.com/jrouwe/JoltPhysics.js">Jolt</a>.

Phy simplify creation of game, is like a bridge between three.js and physics 

## Features

ES6, chamfer geometry, Glb manager, envmap and reflection, post process ...

## Usage

Phy main function is : add, remove and change.<br>
You can see and edit demo code directlly on <a href="https://lo-th.github.io/phy/">webpage</a> 

You can drag file directly on viewport ( code js or environement hdr ) 

## Todo

Add more demos, fixe joint...

## Docs

<a href="https://lo-th.github.io/phy/docs/index.html#manual/Welcome">docs</a> in progress...

## About

Phy is under active development<br>
You can help me improve phy engine with Sponsor

