PixlCam

2D cameras for games written in TypeScript.

Get Started →

No Dependencies

This library comes with no dependencies, so you it can be used with any framework or just with pure WebGL.

Add Focus to Your Game

With the InfluencedCamera, you can add cues to your game, attracting the camera and thus the attention of the player.

Typesafe

PixlCam makes use of TypeScript to ensure a pleasant and safe development experience!

# What is PixlCam?

A set of 2D cameras for games written in TypeScript:

You'll get a projection and a model-view matrix ready to use, but there are also getters if your setup can't specify a camera matrix.

# Liberal License

Thanks to its zlib/libpng (opens new window) license, users have the freedom to use it, modify it and redistribute as they please. Commercial purposes are perfectly allowed.