Giter VIP home page Giter VIP logo

jgmp's Introduction

Java Graphics Math and Physics Library

Java Library for Computer Graphics Math/Physics. Math and Physics tools for 2D graphic applications.

I have been developing many games using Unity and other popular game engines. However, I have recently started thinking about creating my own game engine which inspired this project to come into play. JGMP is a math and physics library written in Java for any Java Graphics API Developers including myself to aid in their development.

Features

  • 2D Vectors
  • 2D Shapes (2D Circle, 2D Rectangle, 2D Ray)
  • 2D Collision Check Helper (collision checking between 2 shapes)
  • Float Mathematics Helper
  • Kinematics and Dynamics Models
  • Universal Gravity Force Model
  • Object Velocity Model

Documentation

com/boole/math/helpers/ contains many helpful tools and utilities (float management and collision detection)
com/boole/math/shapes/ contains many shape models with useful utilities.
com/boole/math/vectors/ contains vector math model with a lot of vector mathematics and linear algebra functions.
com/boole/physics/ contains many useful 2D kinematics models for 2d game physics.

You can learn more about the library through the documentation
You can also find a simple wiki page here

Installation

Latest Releases: https://github.com/BooleanCube/jgmp/releases

Replace VERSION with the latest release in Jitpack. If you want to use SNAPSHOTS, please follow the instructions on the Jitpack page

Maven

Dependency

<dependencies>
    <dependency>
        <groupId>com.github.BooleanCube</groupId>
        <artifactId>jgmp</artifactId>
        <version>VERSION</version>
    </dependency>
</dependencies>

Repository

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

Gradle

Dependency

dependencies {
    implementation 'com.github.BooleanCube:jgmp:VERSION'
}

Repository

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Created by BooleanCube :]

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.