home
about
usage
settings
Settings
Halftone3D is highly customizable. Each setting has a default value and can be ignored. But to achieve a 3D feel, you need to specify at least source image and depth map. Don't be afraid of making mistakes, because all incorrect values are automatically replaced with correct ones. Below is a complete list of settings.

SOURCE_IMAGE
Path to source image.
Default source image is gray square.
DEPTH_MAP
Path to the image that represents depth map.
Depth map is an image where pixel luminosity determines the depth (distance between pixel and observer).
Default depth map is white square.
RASTER_TYPE
Halftone pattern name.
Allowable values: "circle", "circle2", "square", "square2", "triangle", "triangle2", "rhomb", "rhomb2", "hexagon", "line", "cell".
Default value is "circle".
RASTER_ANGLE
Number defining the raster line rotation. Measured in degrees.
Min value is -90. Max value is 90. Default value is 45.
DOT_SIZE
Raster dot size. Measured in pixels.
Min value is 1. Default value is 10.
LINE_SMOOTHING
Line smoothing of "line" and "cell" patterns. To render without smoothing set value to 0.
Default value is 3.
CANVAS_COLOR
Canvas color.
Default value is "white".
DOT_COLOR
Raster dot color.
Default value is "black".
DOT_COLOR_RANDOMIZATION
Dot color randomization.
Min value is 0. Max value is 1. Default value is 0.
DOT_COLOR_R_RANDOMIZATION
Randomization of dot color R-component.
Min value is 0. Max value is 1. Default value is 1.
DOT_COLOR_G_RANDOMIZATION
Randomization of dot color G-component.
Min value is 0. Max value is 1. Default value is 1.
DOT_COLOR_B_RANDOMIZATION
Randomization of dot color B-component.
Min value is 0. Max value is 1. Default value is 1.
CANVAS_WIDTH
Output image width. Measured in pixels.
Default value depends on CANVAS_HEIGHT. If CANVAS_HEIGHT specified, CANVAS_WIDTH will be calculated according to source image aspect ratio. Else CANVAS_WIDTH will be set equal to source image width.
CANVAS_HEIGHT
Output image height. Measured in pixels.
Default value depends on CANVAS_WIDTH. If CANVAS_WIDTH specified, CANVAS_HEIGHT will be calculated according to source image aspect ratio. Else CANVAS_HEIGHT will be set equal to source image height.
SCALE_MODE
Defines how halftone image scale depends on DIV size. Allowable values: "cover", "fit", "none".
Default value is "fit".
BRIGHTNESS
Source image brightness.
Min value is 0. Max value is 1. Default value is 0.5.
CONTRAST
Source image contrast.
Min value is 0. Max value is 1. Default value is 0.5.
INVERT
Defines whether to invert the source image. Allowable values: true and false.
Default value is false.
INVERT_DEPTH_MAP
Defines whether to invert the depth map. Allowable values: true and false.
Default value is false.
DEPTH_DETALIZATION
The number of parallax layers.
Min value is 1. Max value is 256. Default value is 20.
PARALLAX_LAG
Number defining smoothness of response to mouse movement.
Min value is 0. Default value is 0.5.
PARALLAX_HORIZONTAL_INTENSITY
Number defining horizontal intensity of parallax effect.
Min value is 0. Max value is 1. Default value is 0.1.
PARALLAX_VERTICAL_INTENSITY
Number defining vertical intensity of parallax effect.
Min value is 0. Max value is 1. Default value is 0.1.
PARALLAX_FOCUS
Number defining a depth at which picture is always fixed.
Min value is 0. Max value is 1. Default value is 0.
SHOW_RENDERING_PROGRESS
Defines whether to display halftone image during rendering. Allowable values: true and false.
Default value is false.
USE_PRELOADER
Defines whether to display preloader animation. Allowable values: true and false.
Default value is true.
PRELOADER_COLOR
Preloader color.
Default value is "gray".
PRELOADER_SIZE
Preloader size. Measured in pixels.
Min value is 4. Default value is 40.