This is just an experiment with Typescript and Webpack, the ‘module bundler’.
I’m using Webpack to simply combine all of the transpiled js files, along with the js libraries.
In this example you can drive a little blue car around with the arrow keys.
>> Try it out <<
I threw the car together quickly in blender. It uses a texture, but each face is assigned to a single colour, and the texture is basically a palette
Here’s an updated screenshot