ComfyUI Node
kubakub mosaic grid from camera
Works out the mosaic tile size in pixels from real sizes: the facade width, the width of one tile on the building and the image width. No camera is involved.
kubakub mosaic grid from camera
- tile_px
- info
◄facade_width_m33.93►
◄feature_width_m0.100►
◄render_width_px3200►
◄divide1►
Categorykubakub/lab/mosaic
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| facade_width_m | FLOAT | 33.930.1–500 | Real width of the facade the image covers, in metres. |
| feature_width_m | FLOAT | 0.1000.001–50 | Real width of one tile on the building, in metres (e.g. a brick or a stone). |
| render_width_px | INT | 32008–16384 | Width in pixels of the image the mosaic is made at. |
| divide | INT | 11–16 | Split each real feature into this many tiles across. 1 = one tile per feature. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| tile_px | INT | Tile size in pixels, for the mosaic illusion's tile_px. |
| info | STRING | Pixels per metre, tile size and tiles across, as text. |