There are many great Threejs examples on the official Threejs examples website at https://threejs.org/examples/
I convert the Threejs example Ocean into a TypeScript equivalent of that example.
- I base the new project on the statsgui branch of my boilerplate because it already includes the Stats and DAT.gui panels.
- I make sure all resources that the script needs are available such as any resources referenced in the examples html, or images/models/textures that will also need to be placed in your projects dist folder.
- I then add the types to all the variables until there are no more TypeScript warnings.