sergebat

sergebat/aspect-to-rect

Find rectangle as close as possible to the desired aspect ratio within provided constraints

JavaScript
1
1
MIT License

This project, aspect-to-rect, is a utility that helps find the optimal rectangle dimensions with a desired aspect ratio within given constraints. It's particularly useful for mobile web game development, where it can be used to adjust the canvas resolution to match the device's aspect ratio. The tool is designed for developers who need to dynamically adapt their game's or application's layout to various screen sizes and orientations.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of sergebat/aspect-to-rect

Account's avatar
local development server that aims to make using browserify fast and fun
Account's avatar
browser-side require() the node way
Account's avatar
Fits one rectangle into another
Account's avatar
simple, flexible, fun test framework

Support the repos that depend on this repository

Top contributors

sergebat's profile
sergebat
8 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet