I would like to make a simple web application (a static website where all computation happens on the client) that generates a mesh and displays it. I have a working prototype in Unity and now I'm wondering what a good framework / language is for the task.
The problem: I would like to use Typescript or Javascript, but neither support operator overloading.
A line like this in C#
a = Vector3.forward * 3 + direction * length * 0.5;
would look horrible without operator overloading:
a = Vector3.forward.times(3).add(direction.times(length * 0.5));
What is the most elegant solution to this?