utu

Crates.ioutu
lib.rsutu
version0.0.1
created_at2025-07-02 09:11:29.339756+00
updated_at2025-07-02 09:11:29.339756+00
descriptionTUI pixel art editor using plain text files
homepagehttps://github.com/sile/utu
repositoryhttps://github.com/sile/utu
max_upload_size
id1734813
size83,119
Takeru Ohta (sile)

documentation

README

utu

WIP

TUI Text editor for pixel arts.

ASCII canvas

+--------------------------------+
|                                |
|                                |
|                                |
|                                |
|  oooooooooo                    |
|  o        o                    |
|  o        o                    |
|  oooooooooo                    |
|                                |
|        ooooooooooooo           |
|        o           o           |
|        o           o           |
|        o           o           |
|        ooooooooooooo           |
|                                |
|                                |
+--------------------------------+

Multi-byte char canvas

Using Unicode block characters for pixel-perfect alignment:

|█░█░█░█░█░█░█░█░|
|░█░█░█░█░█░█░█░█|
|█░█░█░█░█░█░█░█░|
|░█░█░█░█░█░█░█░█|
|█░█░█░█░█░█░█░█░|
|░█░█░█░█░█░█░█░█|
|█░█░█░█░█░█░█░█░|
|░█░█░█░█░█░█░█░█|
|█░█░█░█░█░█░█░█░|
|░█░█░█░█░█░█░█░█|
|█░█░█░█░█░█░█░█░|
|░█░█░█░█░█░█░█░█|
|█░█░█░█░█░█░█░█░|
|░█░█░█░█░█░█░█░█|
|█░█░█░█░█░█░█░█░|
|░█░█░█░█░█░█░█░█|

Character reference:

  • (U+2588) - Full block (black)

  • (U+2591) - Light shade (light gray/white)

  • (U+2593) - Dark shade

  • (U+2592) - Medium shade

Emoji canvas

Using colored emoji squares for vibrant pixel art:

+--------------------------------+
|⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨|
|🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛|
|⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨|
|🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛|
|⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨|
|🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛|
|⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨|
|🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛|
|⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨|
|🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛|
|⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨|
|🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛|
|⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨|
|🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛|
|⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨|
|🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛🟨⬛|
+--------------------------------+

Character reference:

  • (U+2B1C) - White large square
  • 🟨 (U+1F7E8) - Yellow square
  • 🟧 (U+1F7E7) - Orange square
  • 🟫 (U+1F7EB) - Brown square
  • (U+2B1B) - Black large square
  • 🟥 (U+1F7E5) - Red square
  • 🟩 (U+1F7E9) - Green square
  • 🟦 (U+1F7E6) - Blue square
  • 🟪 (U+1F7EA) - Purple square

4 colors:

  • (U+2B1C) - White large square
  • 🟨 (U+1F7E8) - Yellow square
  • 🟧 (U+1F7E7) - Orange square
  • 🟥 (U+1F7E5) - Red square
⬜⬜🟥🟥🟥🟥⬜⬜
⬜🟥🟥🟧🟧🟥🟥⬜
🟥🟥🟧🟨🟨🟧🟥🟥
🟥🟧🟧🟨🟨🟧🟧🟥
🟥🟧🟨🟨🟨🟨🟧🟥
🟧🟧🟨🟨🟨🟨🟧🟧
🟧🟨🟨🟨🟨🟨🟨🟧
🟨🟨🟨🟨🟨🟨🟨🟨

Another pattern:

  • (U+2B1C) - White large square
  • 🟨 (U+1F7E8) - Yellow square
  • 🟫 (U+1F7EB) - Brown square
  • (U+2B1B) - Black large square
Commit count: 0

cargo fmt