MCPcopy Index your code
hub / github.com/0b01/xprite-editor

github.com/0b01/xprite-editor @0.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.1.0 ↗ · + Follow
770 symbols 2,116 edges 112 files 44 documented · 6%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

xprite

Build Status

Pixel art editor with algorithmic tools.

Features

  • Support for aseprite

  • Pixel art algorithms

  • Customizable exporter workflow

  • Wave function collapse based texture synthesis

Build

To build:

git submodule update --init --recursive
cargo run --bin xprite-native --release

Contributions Welcome

If you find xprite useful, feel free to add features you want.

Also checkout the projects tab.

Milestones

  1. Finding the right abstractions
  2. [x] Canvas
  3. [x] Renderer
  4. [x] Layer

  5. Core functionalities

  6. [x] Hotkeys
  7. [x] Save
  8. [x] Load
  9. [x] Python Scripting
  10. [x] Palette

  11. Basic tools (Release target)

  12. [x] Pencil
  13. [x] Line
  14. [x] Color Picker
  15. [x] Paint Bucket
  16. [x] Eraser
  17. [x] Shapes - Rect
  18. [x] Shapes - Circle
  19. [x] Vector tools
  20. [x] Symmetry
  21. [ ] Select/Marquee
  22. [ ] Copy paste
  23. [x] Layer groups

  24. Animation support

  25. [ ] Celluloid
  26. [x] Preview window

  27. Others

  28. [ ] Pattern Brush
  29. [x] Texture Synthesis

  30. Collaborative editing

Extension points exported contracts — how you extend this code

Tool (Interface)
(no doc) [12 implementers]
xprite/src/tools/traits.rs
Renderer (Interface)
(no doc) [2 implementers]
xprite/src/rendering/traits.rs

Core symbols most depended-on inside this repo

push
called by 154
xprite/src/algorithms/polyline.rs
xpr_mut
called by 104
native/src/state/mod.rs
iter
called by 80
xprite/src/core/pixels.rs
clone
called by 69
xprite/src/layer/layers.rs
push
called by 48
xprite/src/core/pixels.rs
len
called by 46
xprite/src/core/pixels.rs
extend
called by 37
xprite/src/core/pixels.rs
shrink_size
called by 34
xprite/src/rendering/canvas.rs

Shape

Method 513
Function 185
Class 52
Enum 18
Interface 2

Languages

Rust96%
Python4%

Modules by API surface

xprite/src/core/xprite.rs72 symbols
xprite/src/core/pixels.rs68 symbols
xprite/src/core/geom.rs31 symbols
xprite/src/scripting/python/xpr_module.rs26 symbols
xprite/src/rendering/canvas.rs23 symbols
xprite/src/core/color.rs21 symbols
xprite/src/tools/vector.rs20 symbols
native/src/state/mod.rs18 symbols
xprite/src/tools/eraser.rs16 symbols
xprite/src/rendering/image_renderer.rs16 symbols
xprite/src/layer/layers.rs16 symbols
xprite/src/core/brush.rs16 symbols

For agents

$ claude mcp add xprite-editor \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact