Angular 9+ & BabylonJS Template Project

Hi there Developers,

as of originally here postet i also want to share my project here.

This is my Angular 7+ & BabylonJS Project Template. Supports now also the New Version 4.x

Have some fun with it!

1 Like

Thanks for your template. :slight_smile:
If I can add a couple of things… Consider moving the scene init from ngOnInit to ngAfterViewInit. The required canvas may or may not be yet created in the ngOnInit call. For the sake of reusability, it would also make sense to get the canvas referece via @ViewChild decorator.
I would personaly also use the new es6 babylon modules, which allows tree shaking. :wink:

Cheers :slight_smile:

1 Like

Hey there,

i’ve done some update on the template… now with Angular 8.2.x and the latest Babylon 4.0.x compiled without errors. I also integrated some improvements suggested from @rpajo

Have some fun with it and feel free to Star or Fork! :wink:

2 Likes

Hey there,

it’s me again… updated the template to latest Angular 9.0.0-rc.14 compiled without errors.

Have some fun :slight_smile:

1 Like