Code Monkey home page Code Monkey logo

billiards's People

Contributors

bownie avatar shmup avatar tailuge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

billiards's Issues

Compare constants to Han 2005 and PoolTool

How do the following quantities compare to pooltool and Han2005

Constants and derived quantities

Mx,My    = 0.000720
Mz       = 0.000370
I        = 0.000099
Max vel  = 4.912500
Max rvel = 187.5000
g = 9.8
mu = 0.00985
muS = 0.105
rho = 0.025
m = 0.23
R = 0.03275
e = 0.86

error about readme

In the description of Key equations,

rolling motion <-> sliding motion

Thank you!

Hey @tailuge, I just wanted to say thank you for building this project. I’ve long been wanting to build an algorithm to suggest routes given the current set of balls. I found this project to implement the physics engine and debugging tools to be super convenient to play with my ideas.

Current status:
I’m able to place two balls randomly on the table and shot the other one in the pocket. Demo: https://vjeux.github.io/billiards/dist/diagrams.html

Next is to start building the route planning. I have an idea that I believe will work.

Some of the tweets from my hack session today:

So far it’s been dead simple to run and haven’t hit any bugs.
The only thing is that the spins don’t behave quite like the physical world. If I get far enough in my prototype I’ll give some more concrete repro, my hunch is that it’s going to be about tweaking the constants.

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.