ember-ecsy-babylon

Ember addon that uses escy and babylon.js for a fully declarative 3D rendering experience in Ember apps

Usage no npm install needed!

<script type="module">
  import emberEcsyBabylon from 'https://cdn.skypack.dev/ember-ecsy-babylon';
</script>

README

ember-ecsy-babylon

CI

WIP

Demo

Compatibility

  • Ember.js v3.20 or above
  • Ember CLI v3.20 or above
  • Node.js v12 or above

Installation

ember install ember-ecsy-babylon

Usage

To Do

Tree shaking

Due to this ember-auto-import bug use direct imports of ecsy-babylon systems:

// good
import BabylonSystem from 'ecsy-babylon/systems/babylon';

// bad
import { BabylonSystem } from 'ecsy-babylon/systems';
import { BabylonSystem } from 'ecsy-babylon';

Same applies when you import from @babylonjs/core, see Tree Shaking of Babylon.js

This will pull in only the needed systems, and as such also only the needed parts of babylon.js.

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.