RotSprite99 is a tool to rotate a 16×16 bit sprite by any desired angle.

The original sprite pattern is input as a 64-character hex string (Magnify 3 format) and the tool calculates and outputs the rotated 64-character result string.

The algorithm tries to keep the total number of pixels constant. You can fine-tune the result by manually adding pixels or adjusting the contrast threshold.

Written in Lazarus / Free Pascal, with full source code available.

RotSprite99 Screenshot

Features & Sprite Format

TI-99/4A 16×16 Sprites

  • Input format: 64 hexadecimal characters representing a 16×16 pixel sprite bitmap (4 characters per row, 16 rows).
  • Arbitrary angle rotation: Rotate smoothly from 0° to 360°.
  • Pixel count conservation: Preserves outline thickness and visual density.
  • Contrast & threshold controls: Fine-tune pixel quantization to avoid hollow shapes or jagged artifacts.

Downloads

🪟 Windows Application
RotSprite99.zip (Executable package)
Download RotSprite99
💻 Complete Source Code
RotSprite-Source.zip (Lazarus / Free Pascal)
Download Source Package