Video Encoding Ladders Built on Powers of Two

Video Encoding Ladders Built on Powers of Two

TL;DR / Summary: Encoding ladders built on powers of two compress more efficiently because hardware and codecs are designed around those sizes. Choose 360, 720, 1080, and 1440—not 400, 750, or 1100. Why the numbers cluster Video resolutions were standardised early around dimensions that divide evenly by small powers of two, and hardware encoders were … Read more

Sprite-Sheet Tile Counts That Stay Powers of Two

Sprite-Sheet Tile Counts That Stay Powers of Two

TL;DR / Summary: Sprite sheets behave when tile grids follow powers of two: 8×8, 16×16, 32×32 frames pack cleanly and slice without fractional pixels. Pick a frame size with a 2ⁿ habit, compute sheet dimensions before exporting, and verify awkward totals with tothepowerof2.com so your atlas importer stops complaining about off-by-one crops. Fractional tiles are … Read more

Game Inventory Slot Counts That Stick to Powers of Two

Game Inventory Slot Counts That Stick to Powers of Two

TL;DR / Summary: Many games expose 8, 16, 32, or 64 inventory slots because those counts map cleanly to grids, bit flags, and save formats. Designers should choose 2ⁿ capacities on purpose—then explain overflow rules in plain language. Sketch slot math with tothepowerof2.com when you compare backpack tiers or hotbar expansions. Why inventories drift toward … Read more

Why Audio Buffer Sizes Cling to Powers of Two

Why Audio Buffer Sizes Cling to Powers of Two

TL;DR / Summary: Digital audio workstations and game engines favor buffer sizes like 64, 128, 256, and 512 frames because those lengths play nicely with FFT sizes, SIMD widths, and driver expectations. Use tothepowerof2.com to translate an exponent into samples, then weigh latency against dropout risk before you chase the smallest buffer. What a buffer … Read more