Create halftone
create_halftoneApply retro print effects like halftone dots, CMYK separation, ordered dithering, or posterized colors to images or generated noise. Exposes controls for dot size, angle, and blend mix.
Instructions
Build a print/comic print-look effect: halftone dots, CMYK colour separation, ordered dithering, or posterized stepped colour — classic retro aesthetics in one GLSL pass. Creates a new baseCOMP under parent_path holding the source (or a self-contained noise source), a GLSL TOP with an inline shader implementing the chosen style, and a Null output. With source it stylises an existing TOP (pulled in via a Select TOP); without it uses a self-contained animated colour-noise source (no device permissions). Exposes Mix (blend original vs stylised), DotSize, and Angle knobs. Returns a summary plus a JSON block with the container path, created node paths, the output path, exposed controls, any node errors, warnings, and an inline preview image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Base name for the created container. | halftone |
| parent_path | No | Parent COMP path the halftone container is created inside. | /project1 |
| source | No | Absolute path of an existing TOP to stylise (e.g. '/project1/render1'). Pulled in via a Select TOP. If omitted, a self-contained animated colour-noise source is used (no device permissions). | |
| style | No | Print look to apply. dots: monochrome halftone dot grid; cmyk: 4-colour print separation with staggered screen angles; dither: 4×4 Bayer ordered dithering; posterize: stepped colour + luminance outline. | dots |
| dot_size | No | Halftone cell size in pixels — sets the dot spacing for 'dots' and 'cmyk' styles. Larger = coarser, more visible dots. | |
| angle | No | Screen angle in degrees for the dot grid ('dots'/'cmyk'). Classic print uses 15–45°. | |
| mix | No | Blend between the original image (0) and the fully stylised output (1). Exposed as a knob for live tweaking. | |
| resolution | No | Output resolution [width, height] in pixels. |