Written entirely in Java with zero dependencies running on Java 1.6 or higher.
Over 1,000 automated JUnit tests and Sandbox GUI application.
Getting started is easy with Javadocs, wiki, and more.
Open source and free to use in commercial and non-commercial applications.
Getting started is as simple as downloading the latest version of the library, adding it to your project, and then taking a look at the UsingGraphics2D and UsingJogl sample applications. Check out the rest of the samples for additional help.
If you do get stuck, take a look at the Documentation and Javadocs or create an issue on GitHub.
Learn how to use dyn4j
View the latest Javadocs
Get help from the community
View the latest release notes
Quick Start Guide
If you'd like to learn more about how dyn4j works, check out the blog or read through the heavily documented source code on GitHub.
I created a new getting started video (since the other one was so out of date). In this video I opted for cloning the dyn4j-samples project in GitHub which turned out to be very simple – yielding a video less than 2 minutes.
This is a maintenance release to fix the issue where the a Joint removed from a World cannot be added back or to a different world due to an internal member not being cleared.
This release is primarily for a new collision shape called Link. This shape extends the existing Segment shape and provides for smooth sliding across chains of Links. There were some minor fixes and code clean up as well.
This is a maintenance release to fix a few critical bugs in the Polygon, Rectangle, and Segment classes for local rotations (see this post for details). This release also contains some small enhancements (a few new methods) to some of the joints and a complete rewrite of all the joint class javadoc documentation. The documentation Read more about Version 3.2.1[…]
The primary goals for this release were performance enhancements and API clean up. It took a lot longer than I had expected but I’m very happy with the results. Highlights include improvements in the performance of collision detection and ray casting operations and a much cleaner public API and more thorough javadoc comments. The API has been changed a Read more about Version 3.2.0[…]
Due to Google’s decision to drop Google Code, I’ve moved the project to GitHub. In truth, I’ve been contemplating this for a while now, but have had reservations about lost version history. I feel this will help others contribute bug fixes and allow them to create their own forks and branches easier than before. I Read more about dyn4j Moved to GitHub[…]
This is a maintenance release of dyn4j that includes a bug fix for a StackOverflowException thrown from the raycast(Ray, double, boolean, boolean, List) method. This release also includes some very minor performance tweaks. See the change detail in the release notes. The Sandbox app was updated to fix a bug in the Java code exporter (Rays Read more about Version 3.1.11[…]