Garry's Github

A part of Garry's Blog

Reference

Example RGB565 Colours for Arduino

A visual reference table of 140 RGB565 colour definitions, showing each colour's name, hexadecimal code, and an actual colour sample for easy identification.

Tool

Image to RGB565 Array Converter for Arduino

Transforms regular image files (PNG, JPG, GIF, etc.) into C/C++ arrays that Arduino can store in flash memory and display on RGB565 LCD screens. Reads pixel data, converts from RGB888 (24-bit) to RGB565 (16-bit), and outputs a .h header file ready for use with the LovyanGFX library.

Tool

Inscribed polygon calculator

This tool calculates the key dimensions of any regular polygon inscribed inside a circle, supporting shapes from 3 sides (triangle) up to 50 sides. Enter either the circle's diameter or the polygon's side length and the other is calculated automatically. For a given number of sides, the tool displays the side length, circle diameter, perimeter, and interior corner angle.

Example

AI generated text adventure - The Hollow Keep

A tiny, self-contained text adventure in the style of *Zork* — ten rooms, a handful of items, one locked door, and a golden idol waiting at the bottom of it all. No build step, no dependencies: it's a single HTML file you can open in any browser.