Nodes/ComfyUI_KubaNodes/kubakub mosaic grid from camera
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.

By kubakubkub·Created 15 days ago·Updated 3 days ago· 9
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)

    NameTypeDefaultDescription
    facade_width_mFLOAT33.930.1–500Real width of the facade the image covers, in metres.
    feature_width_mFLOAT0.1000.001–50Real width of one tile on the building, in metres (e.g. a brick or a stone).
    render_width_pxINT32008–16384Width in pixels of the image the mosaic is made at.
    divideINT11–16Split each real feature into this many tiles across. 1 = one tile per feature.

    Outputs (2)

    NameTypeDescription
    tile_pxINTTile size in pixels, for the mosaic illusion's tile_px.
    infoSTRINGPixels per metre, tile size and tiles across, as text.