All Projects → tailuge → billiards

tailuge / billiards

Licence: other
billiards physics

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to billiards

encounter
Remaking the classic C64 game in WebGL.
Stars: ✭ 45 (+21.62%)
Mutual labels:  threejs, physics, billiards
use-ammojs
ammo.js physics for use with react-three-fiber
Stars: ✭ 16 (-56.76%)
Mutual labels:  threejs, physics
Classic Pool Game
Classic 8 Ball pool game written in JavaScript
Stars: ✭ 177 (+378.38%)
Mutual labels:  physics, pool
Aframe Physics System
Physics system for A-Frame VR, built on CANNON.js.
Stars: ✭ 371 (+902.7%)
Mutual labels:  threejs, physics
Webxr Physics
Adds physics to WebXR
Stars: ✭ 18 (-51.35%)
Mutual labels:  threejs, physics
three-to-cannon
Convert a THREE.Mesh to a CANNON.Shape.
Stars: ✭ 207 (+459.46%)
Mutual labels:  threejs, physics
DynamicalBilliards.jl
An easy-to-use, modular, extendable and absurdly fast Julia package for dynamical billiards in two dimensions.
Stars: ✭ 97 (+162.16%)
Mutual labels:  physics, billiards
cannon-es-debugger
Wireframe debugger for use with cannon-es https://github.com/react-spring/cannon-es
Stars: ✭ 69 (+86.49%)
Mutual labels:  threejs, physics
xdagj
XDAGJ is an implementation of XDAG in Java. https://xdag.io
Stars: ✭ 81 (+118.92%)
Mutual labels:  pool
awesome-threejs
搜集并学习threejs的相关知识总结、Demo、站点、书籍等。
Stars: ✭ 96 (+159.46%)
Mutual labels:  threejs
Filament
Interactive Music Visualizer
Stars: ✭ 22 (-40.54%)
Mutual labels:  threejs
cellpy
extract and tweak data from electrochemical tests of cells
Stars: ✭ 46 (+24.32%)
Mutual labels:  physics
aframe-globe-component
3D Globe data visualization component for A-Frame
Stars: ✭ 27 (-27.03%)
Mutual labels:  threejs
spacesvr
A standardized reality for the future of the 3D Web.
Stars: ✭ 135 (+264.86%)
Mutual labels:  threejs
Mage
Mage is a 3D Game Engine, built on top of THREE.js. It features Unity-like scripting, AMMO.js powered physics workers, an Infernojs powered UI and a clean API. Under (very) active development.
Stars: ✭ 76 (+105.41%)
Mutual labels:  threejs
cellular-automata-explorer
(WIP) An interactive web app for exploring cellular automata.
Stars: ✭ 18 (-51.35%)
Mutual labels:  threejs
pem-dataset1
Proton Exchange Membrane (PEM) Fuel Cell Dataset
Stars: ✭ 48 (+29.73%)
Mutual labels:  physics
mysql-connection-pool-manager
This is a mySQL Connection Pool Manager wrapper powered by mysqljs/mysql and allows for intelligent management & load balancing mysql connection pools.
Stars: ✭ 15 (-59.46%)
Mutual labels:  pool
arpes
Mirror of PyARPES (gitlab/lanzara-group/python-arpes) the open source ARPES analysis framework
Stars: ✭ 21 (-43.24%)
Mutual labels:  physics
three-font-outliner
Constructing shapes from glyphs at runtime for three.js.
Stars: ✭ 58 (+56.76%)
Mutual labels:  threejs

billiards

codecov CodeFactor Open in Gitpod visitors

Unsophisticated billiards spinning ball physics.

Demo

In browser WebGL demo. Inspect physics using diagrams

Reference

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

3D graphics uses three.js

Inline LaTeX editor

Key equations

surface velocity

equation

sliding motion

equation

equation

equation

rolling motion

equation

equation

where

equation ,equation

cushion bounce

Setup

nvm use v14.15.1
yarn install
yarn dev

Test

yarn test
yarn coverage
yarn serve

Maintain

yarn deps
yarn upgrade -L
yarn prettify

Two player

yarn websocket
yarn serve

add query parameter to url ?websocketserver=wss://host

Features

Backspin and sidespin well modeled. Presentation in 2d or 3d in any modern browser. Record and playback breaks. Two player mode with node websocket server.

Controls

Use mouse or keyboard:

Aim

Control Fine aim

Topspin and backspin

Shift Side spin

Space Hit - hold for more power

Progress snapshots

July 2018

July 2019

March 2021

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].