Files
ku1x 4b6ea5f4b8 feat: initial release — Mask Canvas Editor for ComfyUI
Interactive canvas-like visual editor for positioning images behind mask regions.
Supports scale, rotation, flip, and offset transforms with real-time preview.

- Python backend with F.grid_sample based inverse transform chain
- JavaScript frontend with full-screen HTML5 Canvas editor modal
- Mouse drag (pan), scroll (zoom), shift+scroll (rotate) interactions
- Bilingual README (EN + ZH_CN)
2026-07-21 15:29:42 +02:00

11 lines
388 B
Python

"""
ComfyUI Mask Canvas Image Node
A custom node that provides canvas-like visual editing for positioning
an image behind a mask region, with support for scale, rotation, flip, and offset.
"""
from .py.nodes.mask_canvas_editor import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
WEB_DIRECTORY = "./js"
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]