A small 3D pool physics prototype built with WebGL and Three.js.

This prototype was made for learning and experimenting with real-time physics, collision response, ball rotation, lighting, shaders, and interactive 3D rendering.

Custom ball physics handle collisions, friction, cushions, pockets, and rolling, with several lighting models used across the pool balls.

It is very buggy - its only a small prototype. Dont expect anything too complex here !

Controls

Click a ball to select it, then move the mouse to aim using the white impulse vector. Click again to shoot.  (Dont shoot too hard, the velocity is not clamped XD)

R — Reset and rack the balls

E — Clear the balls from the table

You can also orbit around the scene with the mouse.


Source code available on GitHub: https://github.com/nitrous-git/IFT-3355-TP3-Fall-2025

Published 7 days ago
StatusPrototype
PlatformsHTML5
AuthorNitrous Studio
GenreSimulation, Sports
Tags3D
ContentNo generative AI was used

Leave a comment

Log in with itch.io to leave a comment.