is a three-dimensional graphics directive specifying that surfaces that follow are to be drawn with a base pattern of dots.
uses the density d of shading.
uses dots with the specified color col.
uses the specified "shape" as base pattern.
uses a fixed pattern of "shape" with the specified color col and density d.
- HalftoneShading is also known as halftoning.
- HalftoneShading is typically used to mimic continuous-tone with a base pattern of shapes whose size will vary to mimic to the correct luminosity on the surface.
- HalftoneShading[d,col,"shape"] specifies that the surface should be drawn with the shapes "shape" of color col with a density of shapes per area given by d.
- The shape density d is between 0 and 1. A higher value indicates more shapes per area.
- The color col can be defined by RGBColor, Hue or any other color specification.
- Possible "shape" values include:
"Disk" disk "Hexagon" hexagon "Line" line "Square" square "Triangle" triangle
- The default value for the density is 0.5, the color Black, and the shape is taken to be "Disk".
- HalftoneShading is effectively equivalent to HalftoneShading[0.5,Black,"Disk"].
- The setting Lighting"Accent" uses a directional light and faithfully reproduces colors on the surface.
Examplesopen allclose all
Basic Examples (3)
Basic Uses (5)
HalftoneShading with no arguments uses gray tones:
HalftoneShading works with all types of lights: