billiards.js

Pure JavaScript library to play animation like a billiards with canvas.
Download billiards.min.js / View on GitHub

Overview

  • A library for a bit of visual exhibition.
  • No dependencies.
  • Lightweight (6kb).
  • MIT license.

Samples

Basic

No rebound

No collide

Translucent fillStyle property

Customizable render function