Code Monkey home page Code Monkey logo

physicum's Introduction

Physicum

Physicum is a 2D rigid-body mechanics simulator (physics engine) with an emphasis on accuracy.

The Physics Workshop is a fully featured editor built on Physicum.

License

Physicum is licensed under the MIT License.

physicum's People

Contributors

ericman314 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

chrisbence

physicum's Issues

Choosing a Physics Engine

The goal of this project is accuracy. The result of a simulation should be able to match the analytical solution to near machine precision whenever possible. So which physics engine should we use? Can we use an existing one, or do we need to write our own? Are there any existing engines that were built to be accurate?

Are the computations done in those engines directly transferable to "real" units, like m and kg, or were they only written with pixels in mind? What about sub-timestep calculations, so we can calculate the exact moment of a collision between two bodies? How is friction calculated? How are the constraints (for example, pin joints) calculated? Can a body be given an arbitrary moment of inertia (such as solid or shell)?
What kinds of approximations are made to improve performance?

Using an existing engine would greatly accelerate this project's development, and would add credibility--but the main goal is to just have fun, and building a new, hyper-accurate physics engine might open the door to academics and educators.

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.