AppCUI-rs Gallery

A visual tour of AppCUI-rs. Each category shows one quick preview; expand for more.


Animations

Animations — preview

More Examples
ImageDescription
Spiral Animation
* Code: examples/spiral
* Description: The Spiral example defines a struct that incrementally computes spiral coordinates in polar form, applies aspect-ratio correction, and updates them each frame to illustrate animated geometry generation.
Fractal Animation
* Code: examples/fractal
* Description: The Fractal example constructs a recursive tree-like structure by generating line segments from a start point, computing endpoints using trigonometric functions, and branching at ±45° angles. Each update advances rotation, modulates scale, and regenerates points up to a configurable depth, producing an evolving visualization of recursive geometry.
Globe Animation
* Code: examples/globe
* Description: The Globe example displays a rotating globe using a series of static images, updated via periodic TimerEvents. It provides a simple desktop with a globe and a timer to control the rotation.

Basic Controls

Basic controls — preview

More Examples
ImageDescription
Char Picker
* Code: examples/charpicker
* Description: A CharPicker is a UI control in AppCUI-rs that allows users to select a single character from a wide range of Unicode sets, such as ASCII, box-drawing and line-drawing symbols, arrows, geometric shapes, emoji, and other predefined or custom character groups, presented in an expandable panel for easy browsing and selection.

Lists, Trees and Graphs

Lists & Trees — preview

More Examples
ImageDescription
Graph Viewer
* Code: examples/graphs
* Description: Various animations with graphs and trees: move nodes, display orthogonal lines, search and filter data, and more.
Tree Viewer
* Code: examples/treeview
* Description: A simple tree view with three columns where you can navigate, select, sort, filter, and fold or unfold items.
ListBox
* Code: examples/listbox
* Description: A list box is a simple list of multiple items (no columns; all strings) that you can select from.

Games

Games — preview

More Examples
ImageDescription
Minesweeper
* Code: examples/minesweeper
* Description: A Minesweeper-style game: find hidden mines on a grid using the mine counts shown around each cell.
Ram-It
* Code: examples/ramit
* Description: A simulation of the Atari Ram-It game where colored bars scroll toward the center of the screen from both sides, and the player controls a ram block that slides up and down in the middle. The goal is to push back and eliminate the advancing bars before they reach the opposite side. The action gets faster and more difficult as the game progresses.
Flappy Bird
* Code: examples/flappy
* Description: A simple arcade game where you tap to keep a small bird in the air, guiding it through gaps between pipes without crashing; the pace is quick, and the challenge comes from precise timing.

Application Bar, Command Bar and Menus

Menus — preview

More Examples
ImageDescription
Popup Menu
* Code: examples/popup_menu
* Description: A popup menu appears when the user right-clicks a control. You can control the menu size and interact with the items directly.

Background Tasks and Timers

Background tasks — preview

More Examples
ImageDescription
Timer
* Code: examples/timer
* Description: The Timer example displays elapsed time using ASCII-art digits on a Canvas, updated via periodic TimerEvents. It provides Start, Pause, and Resume buttons to control execution, dynamically changing digit rendering based on paused state, and demonstrates integrating timers, custom rendering, and event handling within AppCUI.