Giter Site home page Giter Site logo

djamshedmelikov / react Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flowpowered/react

0.0 2.0 0.0 1.86 MB

Real-time physics library for Java, based on the ReactPhysics3D (https://code.google.com/p/reactphysics3d/) library by Daniel Chappuis (http://www.danielchappuis.ch/).

Home Page: https://flowpowered.com/react

License: MIT License

Shell 0.20% Java 99.80%

react's Introduction

React License Flattr this Build Status Coverage Status

Real-time 3D physics library for Java, based on the ReactPhysics3D C++ library by Daniel Chappuis.

Features

  • Rigid body dynamics
  • Discrete collision detection
  • Collision shapes (Sphere, Box, Cone, Cylinder, Capsule, Convex Mesh)
  • Broadphase collision detection (Sweep and Prune using AABB)
  • Narrowphase collision detection (GJK/EPA)
  • Collision response and friction (Sequential Impulses solver)
  • Joints (Ball-and-socket, Hinge, Slider, Fixed)
  • Sleeping technique for inactive bodies
  • Multi-platform (Windows, Linux, Mac OS X)
  • Unit tests and Javadocs

Getting Started

Source Code

The latest and greatest source can be found here on GitHub. If you are using Git, use this command to clone the project:

git clone git://github.com/flow/react.git

Or download the latest development archive or the latest stable archive.

Test Dependencies

The following dependencies are only needed if you compiling the tests included with this project. Gotta test 'em all!

Building from Source

This project can be built with the latest Java Development Kit and Maven or Gradle. Maven and Gradle are used to simplify dependency management, but using either of them is optional.

For Maven, the command mvn clean package will build the project and will put the compiled JAR in target, and mvn clean install will copy it to your local Maven repository.

For Gradle, the command gradlew will build the project and will put the compiled JAR in ~/build/distributions, and gradlew install will copy it to your local Maven repository.

Contributing

Are you a talented programmer looking to contribute some code? We'd love the help!

  • Open a pull request with your changes, following our guidelines and coding standards.
  • Please follow the above guidelines for your pull request(s) accepted.
  • For help setting up the project, keep reading!

Love the project? Feel free to donate to help continue development! Flow projects are open-source and powered by community members, like yourself. Without you, we wouldn't be here today!

Don't forget to watch and star our repo to keep up-to-date with the latest Flow development!

Usage

If you're using Maven to manage project dependencies, simply include the following in your pom.xml file:

<dependency>
    <groupId>com.flowpowered</groupId>
    <artifactId>react</artifactId>
    <version>1.0.1-SNAPSHOT</version>
</dependency>

If you're using Gradle to manage project dependencies, simply include the following in your build.gradle file:

repositories {
    mavenCentral()
}
dependencies {
    compile 'com.flowpowered:react:1.0.1-SNAPSHOT'
}

If you plan on using snapshots and do not already have the snapshot repo in your repository list, you will need to add this as well:

https://oss.sonatype.org/content/groups/public/

If you'd prefer to manually import the latest .jar file, you can get it here.

Documentation

Want to get friendly with the project and put it to good use? Check out the latest Javadocs.

To generate Javadocs with Maven, use the mvn javadoc:javadoc command. To view the Javadocs simply go to target/site/apidocs/ and open index.html in a web browser.

To generate Javadocs with Gradle, use the gradlew javadoc command. To view the Javadocs simply go to build/docs/javadoc/ and open index.html in a web browser.

Version Control

We've adopted the git flow branching model in our projects. The creators of git flow released a short intro video to explain the model.

The master branch is production-ready and contains the latest tagged releases. Before a release is made, it is stagged in release/x branches before being pushed and tagged in the master branch. Small patches from hotfix/x branches are also pushed to master, and will always have a release version. The develop branch is pre-production, and is where we push feature/x branches for testing.

Legal Stuff

React is licensed under the MIT License. Basically, you can do whatever you want as long as you include the original copyright. Please see the LICENSE.txt file for details.

Credits

  • Daniel Chappuis and contributors of the original ReactPhysics3d C++ library.
  • Spout and contributors - where we all began, and for much of the re-licensed code.
  • All the people behind Java, Maven, and Gradle.

react's People

Contributors

ddos avatar lukespragg avatar kitskub avatar grinch avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.