Map (World Map, Canvas) Example

widget_map

Demonstrates drawing custom graphics and maps using the standard Braille and Block patterns.

Standard widgets are great for text, but sometimes you need to draw. The Canvas widget gives you a high-resolution coordinate system (x, y) to render shapes, lines, and data visualizations that go beyond the grid.

Features Demonstrated

Hotkeys

Usage

ruby examples/widget_map/app.rb

Learning Outcomes

Use this example if you need to…

Read the source code β†’