I’d like to take the chance here to share with you a typescript npm package Open3d!
It is a very good supplementary 3d vector math, matrix etc. library that helps you solve very basic vector calculations like “find the closest point on a line”, “get intersection of two lines”, “project a point on a plane”, “rotate the line around an axis and scale by two times” etc.
When I work with babylonjs, I often find implementing this kind of basic stuff very cumbersome, and this package aims to solve those as a toolbox! I recommend it a lot when you just want to start a simple app with babylonjs that requires some calculation.