Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Can I have guidance on building an online physics engine

Hi treehouse community!

I am beginner but knowledgeable programmer. I studied Java for a year and C++ for a year. I know about variable, arrays, array lists, vectors, strings, primitive types, classes and inheritances and such. I want to build an online physics engine even though I'm sure some exist. I've made elementary 2D physics engine in Java before, but I don't know how to build one and get it onto the internet so its easy to view. Which course, language or languages, should I use/research to start this project? Thanks so much!!

~Devin

1 Answer

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Devin;

Take a look at cannon.js. It is an open source physics engine written in JavaScript. It might give you some idea on how to start and you could port it over to Java. You may be able to contribute to their project to get your feet wet in it as well.

Hope it helps, good luck, and happy coding.

Ken

Thanks so much for the prompt response Ken <3 !