I wanted to ask if anyone else feels that things are too tightly coupled in Bablyon compared to, for example, Three.js.
A while back, I started a port of Three.js to AssemblyScript (TypeScript to WebAssembly compiler):
I originally was interested in Babylon because it is already written in TypeScript, so porting would be easier.
However, when I started to port classes, I soon realized that the everything in the library is highly coupled: importing Babylon’s
Scene class means practically importing the whole Babylon library and instantiating many parts of the library (
new This, or
new That) even if those parts will never be used.
Essentially, with Babylon you want the banana (f.e. Scene) and you get the Gorilla and the whole jungle (rest of Babylon lib).