termui 0.0.1 copy "termui: ^0.0.1" to clipboard
termui: ^0.0.1 copied to clipboard

A high-performance terminal UI and windowing system for Dart featuring overlapping windows, double buffering, layouts, and sub-pixel vector graphics.

Changelog #

All notable changes to this project will be documented in this file.

0.0.1 #

Added #

  • Color Interpolation APIs:
    • drawLineColored: Bresenham line drawing with linear color gradients.
    • fillTriangleColored: Scanline-based triangle rasterizer with 3-way vertex color interpolation (RGB Triangle).
    • fillQuadColored: Bilinear quadrilateral rasterizer with 4-corner color interpolation (Bilinear Quad Gradient).
  • Per-Cell Style Overrides: Added a custom List<Style?> _styles override grid to the Canvas widget, allowing custom coloring on a per-cell basis while falling back to the default widget style.
  • Interactive Pause Control: Added a keyboard binding for the P key to pause/resume the shape rotations and radar sweeps in real-time, displaying [PAUSED] or [RUNNING] in the demo header.
  • High-Fidelity TUI Showcase:
    • Styled the Analog Clock with custom amber ticks, steel face outlines, and sweeping color-coded hands.
    • Colored the Radar scopes and cross-hairs in forest green, sweep lines in bright neon green, and fade-out blips in amber/orange.
    • Integrated rotating outline and filled RGB triangles/quads using the new color interpolation APIs.

Changed #

  • Gap-Free Rasterization:
    • Replaced the edge-sweep triangle filler with a mathematically sound scanline rasterization algorithm to guarantee 100% solid fills with no empty cells or gaps at any rotation angle.
    • Quad rasterization now splits the polygon into two adjacent scanline-rasterized triangles, ensuring zero-gap fills.
  • Project Renaming: Renamed the codebase/package from cli_experiment to termui in pubspec.yaml, package lock configuration, and all 86 project-wide Dart source imports.

Fixed #

  • Fixed sub-pixel coverage gaps inside the rotating triangles and squares where the lines would fan out and leave unfilled cells.
2
likes
0
points
237
downloads

Publisher

verified publishermcdole.org

Weekly Downloads

A high-performance terminal UI and windowing system for Dart featuring overlapping windows, double buffering, layouts, and sub-pixel vector graphics.

Repository (GitHub)
View/report issues

Topics

#cli #tui #terminal #console

License

unknown (license)

Dependencies

ansicolor, args, characters, emoji_regex, ffi, quiver, test, win32

More

Packages that depend on termui