rullino
    Preparing search index...

    Variable halftoneConst

    halftone: MultipassFilter<
        {
            angle: {
                default: 45;
                description: "Rotation of the dot grid; 45° is the classic print angle.";
                label: "Angle (°)";
                max: 90;
                min: 0;
                step: 1;
                type: "float";
            };
            grid: {
                default: "square";
                description: "Dots in a square grid or a honeycomb (hex) grid.";
                label: "Grid";
                options: { hex: "Hex grid"; square: "Square grid" };
                type: "enum";
            };
            mode: {
                default: "mono";
                description: "Mono prints black dots from the brightness; CMY prints three colour screens at different angles.";
                label: "Inks";
                options: { cmy: "CMY"; mono: "Mono" };
                type: "enum";
            };
            shape: {
                default: "circle";
                description: "Round, square or ring-shaped dots.";
                label: "Dot shape";
                options: { circle: "Round"; ring: "Ring"; square: "Square" };
                type: "enum";
            };
            size: {
                default: 8;
                description: "Distance between dots in pixels.";
                label: "Dot spacing (px)";
                max: 64;
                min: 2;
                step: 0.5;
                type: "float";
                unit: "px";
            };
        },
    > = ...

    Print-style halftone: ink dots on rotated screens, dot area = ink coverage (1 − sRGB-encoded tone) sampled at each dot's centre. Mono prints luminance in black; CMY prints cyan, magenta and yellow on their own screens (subtractive, per channel). Paper is white; alpha is kept.