HalftoneShading
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.
HalftoneShading[col]
uses dots with the specified color col.
HalftoneShading["shape"]
uses the specified "shape" as base pattern.
HalftoneShading[d,col,"shape"]
uses a fixed pattern of "shape" with the specified color col and density d.
Details
- 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.
Examples
open allclose allBasic Examples (3)
Scope (12)
Basic Uses (5)
Specification (4)
HalftoneShading with no arguments uses gray tones:
Apply halftone shading to the unit sphere with different densities:
Lighting (3)
HalftoneShading works with all types of lights:
Use "Accent" lighting to faithfully reproduce colors on the surface:
Text
Wolfram Research (2020), HalftoneShading, Wolfram Language function, https://reference.wolfram.com/language/ref/HalftoneShading.html.
CMS
Wolfram Language. 2020. "HalftoneShading." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/HalftoneShading.html.
APA
Wolfram Language. (2020). HalftoneShading. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/HalftoneShading.html