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: GitHub - semleti/three.ts: TypeSript port of three.js (https://github.com/mrdoob/three.js)
examples: GitHub & BitBucket HTML Preview
(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:

7 Likes

hi :slight_smile:
Nice work ! I like typescript too.
Have you see this : GitHub - AssemblyScript/assemblyscript: Definitely not a TypeScript to WebAssembly compiler 🚀 ?

1 Like

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.