TypeScript port of threejs



Hello fellow threejsers!
Today I would like to present a project I’ve been working on and off for a month: a TypeScript port of three.js creatively called three.ts .
It’s mostly for fun and to get more familiar with TypeScript and three.js, but I hope it could end up being usefull to someone.
The project is ~90% done.
It currently passes all unit tests ( except 8).
~90% of the examples are working.

Sadly, I have introduced a few bugs which don’t throw an error, so I have no idea where to start looking for them :confused:
I would really appreciate it if some of you could give a few of the issues a quick look to give me a clue as to where to start looking.

Feel free to drop by to check the project out, tell me what you think of it or what might be the root of one of the issues :wink:
Please let me know if you find any bugs :stuck_out_tongue:

project: https://github.com/semleti/three.ts
examples: https://htmlpreview.github.io/?https://github.com/semleti/three.ts/blob/master/examples/index.html
(there are a few issues with the examples when viewed through the github htmlpreview , so you might want to download them)

Issue 2 saddens me the most since the triangles are rendererd in the wrong order:

Can I use the js/examples within a Typescript/Ionic Project?

hi :slight_smile:
Nice work ! I like typescript too.
Have you see this : https://github.com/AssemblyScript/assemblyscript ?


How are you planning to keep up with all the revisions? It looks like porting the .js build to .ts will always have you playing catch-up.