/billiards

billiards

Primary LanguageTypeScript

billiards

Build Status Coverage Status Dependency Status devDependency Status CodeFactor Open in Gitpod

Unsophisticated billiards physics.

Demo

In browser WebGL demo

Aim

Control Fine aim

Topspin and backspin

Shift Side spin

Space Hit - hold for more power

Diagrams

Inspect physics using diagrams

Setup

nvm use v10.18.0
yarn install
yarn dev

Test

yarn test
yarn coverage
yarn server
yarn deps
yarn upgrade -L
yarn prettify

Reference

3D graphics uses three.js

Papers on ball mechanics, cushions and max spin simulation 1 2 3

Inline LaTeX editor

Key equations

surface velocity 📃

equation

rolling motion 📃

equation

equation

equation

sliding motion 📃

equation

equation

cushion bounce 📃

Progress snapshots

July 2018

July 2019