Skip to content

code4fukui/Oimo.js

 
 

Repository files navigation

Oimo.js

日本語のREADMEはこちらです: README.ja.md

Oimo.js is a lightweight 3D physics engine for JavaScript. It's a full JavaScript conversion of OimoPhysics originally created by Saharan for ActionScript 3.0.

Demo

Features

  • Lightweight and fast 3D physics engine
  • Supports various collision shapes: sphere, box, cylinder, plane, particle
  • Provides joint types: distance, ball-and-socket, hinge, wheel, slider, prismatic
  • Enables multi-threading with Web Workers
  • Includes built-in performance monitoring

Requirements

Oimo.js requires a modern browser supporting JavaScript ES6.

Usage

Use as ES modules:

import * as OIMO from "https://code4fukui.github.io/Oimo.js/build/oimo.module.js";

or

import * as OIMO from "https://code4fukui.github.io/Oimo.js/src/Oimo.js";

Alternatively, download the minified library and include it in your HTML:

<script src="js/oimo.min.js"></script>

You can also install the npm package:

npm install oimo

See the documentation for more details on usage.

License

MIT License — see LICENSE.

About

Lightweight 3d physics engine for javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 99.8%
  • HTML 0.2%